Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Amazingkivas committed Oct 17, 2024
2 parents 2936b20 + 2a5be33 commit e64ad77
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ jobs:
run: |
export CMAKE_BUILD_PARALLEL_LEVEL=4
mkdir build
cd sln
cmake \
-A x64 \
-B ${PWD}/build
cmake --build ${PWD}/build --config Release
- name: Run tests
shell: bash
run: |
${PWD}/sln/build/test_FDTD_method/Release/test_FDTD_method.exe --gtest_repeat=2 --gtest_break_on_failure
${PWD}/build/sln/test_FDTD_method/Release/test_FDTD_method.exe --gtest_repeat=2 --gtest_break_on_failure
linux-gcc-build:
runs-on: ubuntu-latest
Expand All @@ -35,7 +34,6 @@ jobs:
run: |
export CMAKE_BUILD_PARALLEL_LEVEL=4
mkdir build
cd sln
cmake \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
Expand All @@ -45,4 +43,4 @@ jobs:
- name: Run tests with GCC
shell: bash
run: |
${PWD}/sln/build/test_FDTD_method/test_FDTD_method --gtest_repeat=2 --gtest_break_on_failure
${PWD}/build/sln/test_FDTD_method/test_FDTD_method --gtest_repeat=2 --gtest_break_on_failure

0 comments on commit e64ad77

Please sign in to comment.