Skip to content

Commit

Permalink
Fix GCC compilation on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuHernandez committed Nov 3, 2024
1 parent 52b128b commit f560043
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/dataset_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1.3
with:
version: 13
platform: x64
- name: Checkout projet
uses: actions/checkout@v2
- name: Checkout datasets
Expand All @@ -24,7 +29,7 @@ jobs:
- name: CMake
run: |
cd ./build
CC=gcc-13 CXX=/usr/bin/g++-13 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
CXX=/usr/bin/g++-14 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
- name: make
run: |
cd ./build
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/unit_tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1.3
with:
version: 13
platform: x64
- name: Checkout the project
uses: actions/checkout@v2
- name: CMake
run: |
cd ./build
CC=gcc-13 CXX=/usr/bin/g++-13 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
CXX=/usr/bin/g++-14 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
- name: Make
run: |
cd ./build
Expand Down

0 comments on commit f560043

Please sign in to comment.