From 5f8ecc9690631c61d5b2f3af3511f7359883a43f Mon Sep 17 00:00:00 2001 From: Per Malmberg Date: Sat, 27 Aug 2022 09:00:54 +0200 Subject: [PATCH] Ci (#28) * Add CI tests. --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..98971f3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: libcron tests + +on: [push, pull_request] + +jobs: + Tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Build + run: | + mkdir build + cd build + cmake .. + make -j4 + - name: Test + run: | + cd test/out + ./cron_test \ No newline at end of file