From 0b23e71578d402d49e3f31259dcd3d17b0ca6ac9 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Thu, 1 Oct 2020 10:05:20 +0100 Subject: [PATCH] Add VS2019 configuration to Github CI --- .github/workflows/main.yml | 126 +------------------------------------ 1 file changed, 2 insertions(+), 124 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08bb70fc..b6f51d93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,133 +1,11 @@ name: CI on: push: - branches: [ master ] + branches: [ feature/github-actions-for-windows-compilers ] pull_request: branches: [ master ] jobs: - build-gcc-linux: - name: GCC Linux - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-18.04, ubuntu-20.04] - - steps: - - uses: actions/checkout@v2 - - - name: Build - run: | - cmake -DBUILD_TESTS=ON ./ - gcc --version - make - - - name: Run tests - run: ./test/etl_tests - - build-gcc-linux-no-stl: - name: GCC Linux No STL - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-18.04, ubuntu-20.04] - - steps: - - uses: actions/checkout@v2 - - - name: Build - run: | - cmake -DBUILD_TESTS=ON -DNO_STL=ON ./ - gcc --version - make - - - name: Run tests - run: ./test/etl_tests - - build-clang-9-linux: - name: Clang-9 Linux - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-18.04] - - steps: - - uses: actions/checkout@v2 - - - name: Build - run: | - export CC=clang-9 - export CXX=clang++-9 - cmake -D BUILD_TESTS=ON ./ - clang --version - make - - - name: Run tests - run: ./test/etl_tests - - build-clang-9-linux-no-stl: - name: Clang-9 Linux No STL - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-18.04] - - steps: - - uses: actions/checkout@v2 - - - name: Build - run: | - export CC=clang-9 - export CXX=clang++-9 - cmake -D BUILD_TESTS=ON -DNO_STL=ON ./ - clang --version - make - - - name: Run tests - run: ./test/etl_tests - - build-clang-10-osx: - name: Clang-10 OSX - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-10.15] - - steps: - - uses: actions/checkout@v2 - - - name: Build - run: | - export CC=clang - export CXX=clang++ - cmake -D BUILD_TESTS=ON ./ - clang --version - make - - - name: Run tests - run: ./test/etl_tests - - build-clang-10-osx-no-stl: - name: Clang-10 OSX No STL - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-10.15] - - steps: - - uses: actions/checkout@v2 - - - name: Build - run: | - export CC=clang - export CXX=clang++ - cmake -D BUILD_TESTS=ON -DNO_STL=ON ./ - clang --version - make - - - name: Run tests - run: ./test/etl_tests - build-windows-vs2019: name: Windows VS2019 Debug runs-on: [windows-latest] @@ -139,7 +17,7 @@ jobs: submodules: recursive - name: Build - run: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" test/vs2019/etl.sln /p:Configuration=Debug /p:Platform=x86 + run: "C:/Program Files (x86)\Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" test/vs2019/etl.sln /p:Configuration=Debug /p:Platform=x86 - name: Run tests run: ./test/etl_tests