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 a625fb0
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 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 Expand Up @@ -70,6 +71,11 @@ jobs:
run: curl -L -o Runtime.tar.gz ${{ secrets.RUNTIME_DEPENDENCIES }}
- name: Extract dependencies
run: tar -xzf Runtime.tar.gz -C out
- name: Install packages
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install libstdc++6
- name: Run Kinoko
run: cd out && chmod u+x ./kinoko && ./kinoko -s testCases.bin
- name: Upload output
Expand Down

0 comments on commit a625fb0

Please sign in to comment.