Skip to content

Commit

Permalink
Merge pull request #129 from Laupetin/use-gcc-13
Browse files Browse the repository at this point in the history
chore: use gcc/g++ 13 in CI
  • Loading branch information
Laupetin authored Feb 29, 2024
2 parents 6478a29 + 0498c6e commit d3c3786
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@ jobs:
with:
submodules: recursive

- name: Install multilib
- name: Install g++ and multilib
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install gcc-13 g++-13 gcc-13-multilib g++-13-multilib
- name: Set gcc/g++ to version 13
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13
sudo update-alternatives --set gcc /usr/bin/gcc-13
sudo update-alternatives --set g++ /usr/bin/g++-13
- name: Setup premake
uses: abel0b/setup-premake@v2.3
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ jobs:
with:
submodules: recursive

- name: Install multilib
- name: Install g++ and multilib
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install gcc-13 g++-13 gcc-13-multilib g++-13-multilib
- name: Set gcc/g++ to version 13
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13
sudo update-alternatives --set gcc /usr/bin/gcc-13
sudo update-alternatives --set g++ /usr/bin/g++-13
- name: Setup premake
uses: abel0b/setup-premake@v2.3
Expand Down

0 comments on commit d3c3786

Please sign in to comment.