From f5290d896b814b5c912d12b0a7bb52248993b182 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Tue, 29 Sep 2020 09:58:04 +0100 Subject: [PATCH] Github CI update --- .github/workflows/main.yml | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d620336f..87101b69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,47 +15,44 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup cmake - run: cmake -DBUILD_TESTS=ON ./ - - - name: Compile - run: make + - name: name: Build and run + run: | + cmake -DBUILD_TESTS=ON ./ + gcc --version + make - name: Run tests run: ./test/etl_tests - - - name: Save artifacts - uses: actions/upload-artifact@v2 - with: - name: Testfile - path: test/etl_tests build-clang-9-Linux: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 + - name: Build and run run: | export CC=clang-9 export CXX=clang++-9 cmake -D BUILD_TESTS=ON ./ + clang --version make - ./test/etl_tests - - name: Save artifacts - uses: actions/upload-artifact@v2 - with: - name: Testfile - path: test/etl_tests + - name: Run tests + run: ./test/etl_tests build-clang-10-osx: runs-on: macos-10.15 steps: - uses: actions/checkout@v2 + - name: Build and run run: | export CC=clang export CXX=clang++ cmake -D BUILD_TESTS=ON ./ + clang --version make - ./test/etl_tests + + - name: Run tests + run: ./test/etl_tests +