Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split steps #39

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,42 @@ on:
- master

jobs:
unitTests:
prepare:
strategy:
matrix:
name: [ubuntu-gcc, ubuntu-clang, windows-VS]
include:
- name: ubuntu-gcc
os: ubuntu-latest
compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G \"Unix Makefiles\" -DBUILD_EFG_COMPILER_CHECK=ON"
- name: ubuntu-clang
os: ubuntu-latest
compiler_opt: "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G \"Unix Makefiles\" -DBUILD_EFG_COMPILER_CHECK=ON"
- name: windows-VS
os: windows-latest
compiler_opt: ""

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Checkout submodules
run: git submodule update --init --recursive

unitTests:
strategy:
matrix:
name: [ubuntu-gcc, ubuntu-clang, windows-VS]
include:
- name: ubuntu-gcc
os: ubuntu-latest
compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G \"Ninja\" -DBUILD_EFG_COMPILER_CHECK=ON"
- name: ubuntu-clang
os: ubuntu-latest
compiler_opt: "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G \"Ninja\" -DBUILD_EFG_COMPILER_CHECK=ON"
- name: windows-VS
os: windows-latest
compiler_opt: ""

runs-on: ${{ matrix.os }}
steps:
- name: CMake configure
run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -DBUILD_EFG_SAMPLES=OFF -DBUILD_EFG_TESTS=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.compiler_opt }}
- name: Build
Expand Down
Loading