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 6805f69
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ jobs:
uses: actions/checkout@v3
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Install ninja
run: sudo apt install ninja-build
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Configure G++ version
- 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
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: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Configure ninja
run: ./configure.py
- name: Compile
Expand Down

0 comments on commit 6805f69

Please sign in to comment.