Skip to content

Commit

Permalink
Update test_cpp_cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
metopa authored Nov 29, 2019
1 parent dc997ba commit 1712d71
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test_cpp_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:

runs-on: ${{ matrix.os }}
strategy:
max-parallel: 1
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macOS-latest, windows-latest]
mode: [stub, solution]
include:
- mode: stub
Expand All @@ -28,6 +29,11 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.7

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install click
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
Expand All @@ -47,9 +53,8 @@ jobs:
- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE
run: cmake --build . --config $BUILD_TYPE -- -j 8

- name: Test
working-directory: ${{runner.workspace}}
shell: bash
run: python epijudge_ci_test_tool.py --build-dir ${{runner.workspace}}/build cpp ${{matrix.mode}} .
run: python epijudge_ci_test_tool.py --build-dir ${{runner.workspace}}/build cpp ${{matrix.mode}} .

0 comments on commit 1712d71

Please sign in to comment.