Skip to content

Commit

Permalink
Merge pull request #302 from barnasc/accellera-msvc-test_release
Browse files Browse the repository at this point in the history
enforce msvc testing on release configuration
  • Loading branch information
aut0 authored Aug 22, 2023
2 parents 5e34585 + 4c711dc commit ecb5b79
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,9 @@ jobs:
-DCMAKE_C_COMPILER=${{matrix.os.c_compiler}} ${{env.ESC}}
-DCMAKE_CXX_STANDARD=11 ${{env.ESC}}
-DCMAKE_INSTALL_PREFIX=${{env.SYSTEMC_HOME}} ${{env.ESC}}
-DCMAKE_BUILD_TYPE=Release ${{env.ESC}}
..
cmake --build . -- -j ${{env.NPROC}}
cmake --build . --target install
cmake --build . --config Release -- -j ${{env.NPROC}}
cmake --build . --config Release --target install
- name: Configure
run: |
Expand All @@ -187,16 +186,15 @@ jobs:
-DCMAKE_CXX_STANDARD=11 ${{env.ESC}}
-DCMAKE_PREFIX_PATH=${{env.SYSTEMC_HOME}}/lib/cmake/SystemCLanguage ${{env.ESC}}
-DCMAKE_INSTALL_PREFIX=${{env.CCI_HOME}} ${{env.ESC}}
-DCMAKE_BUILD_TYPE=Release ${{env.ESC}}
../../..
- name: Build
working-directory: ${{env.CCI_HOME}}/build
run: |
cmake --build . -- -j ${{env.NPROC}}
cmake --build . --target install
cmake --build . --config Release -- -j ${{env.NPROC}}
cmake --build . --config Release --target install
- name: Test
working-directory: ${{env.CCI_HOME}}/build
run: |
cmake --build ./examples --target check
cmake --build ./examples --config Release --target check

0 comments on commit ecb5b79

Please sign in to comment.