Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Amazingkivas authored Oct 16, 2024
1 parent 9d0b6f5 commit bc85bf8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,23 @@ jobs:
shell: bash
run: |
${PWD}/sln/build/test_FDTD_method/Release/test_FDTD_method.exe --gtest_repeat=2 --gtest_break_on_failure
linux-gcc-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build FDTD with GCC
shell: bash
run: |
export CMAKE_BUILD_PARALLEL_LEVEL=4
mkdir build
cd sln
cmake \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-B ${PWD}/build
cmake --build ${PWD}/build --config Release
- name: Run tests with GCC
shell: bash
run: |
${PWD}/sln/build/test_FDTD_method/Release/test_FDTD_method --gtest_repeat=2 --gtest_break_on_failure

0 comments on commit bc85bf8

Please sign in to comment.