Skip to content

Commit

Permalink
fix g++ install
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Dec 5, 2024
1 parent f08fda7 commit 472aa91
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ jobs:

steps:
- name: Install compiler (if needed)
if: matrix.compiler != 'default'
if: startsWith(matrix.compiler, 'gcc')
run: |
sudo apt install ${{ matrix.cxxcompiler }}
- name: Install compiler (if needed)
if: startsWith(matrix.compiler, 'clang')
run: |
sudo apt install ${{ matrix.compiler }}
- name: Setup Node.js
Expand Down Expand Up @@ -318,7 +322,12 @@ jobs:
retention-days: 1
path: build/src/FIRESTARTER
- name: Uninstall compiler (if needed)
if: matrix.compiler != 'default'
if: startsWith(matrix.compiler, 'gcc')
run: |
sudo apt remove ${{ matrix.cxxcompiler }}
sudo apt autoremove
- name: Uninstall compiler (if needed)
if: startsWith(matrix.compiler, 'clang')
run: |
sudo apt remove ${{ matrix.compiler }}
sudo apt autoremove
Expand Down

0 comments on commit 472aa91

Please sign in to comment.