Skip to content

Commit

Permalink
Manually install gcc-13
Browse files Browse the repository at this point in the history
  • Loading branch information
vabold committed May 19, 2024
1 parent 46fe569 commit c6db397
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@ jobs:
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Install ninja
run: sudo apt install ninja-build
- name: Install packages
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install -y ninja-build gcc-13 g++-13
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Configure G++ version
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 10
sudo update-alternatives --set gcc "/usr/bin/gcc-13"
sudo update-alternatives --set g++ "/usr/bin/g++-13"
- name: Configure ninja
run: ./configure.py
- name: Compile
Expand Down

0 comments on commit c6db397

Please sign in to comment.