Skip to content

Commit e590e01

Browse files
committed
use GCC 14.2...
1 parent 9102a21 commit e590e01

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/verify.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
setup:
25-
runs-on: ubuntu-25.04
25+
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
2828

@@ -64,7 +64,7 @@ jobs:
6464
retention-days: 1
6565

6666
verify:
67-
runs-on: ubuntu-25.04
67+
runs-on: ubuntu-latest
6868
needs: [setup]
6969
env:
7070
SPLIT_SIZE: "20"
@@ -96,7 +96,11 @@ jobs:
9696
uses: adamant-pwn/actions/setup@patch-1
9797
with:
9898
cache-pip: true
99-
99+
- name: Use GCC 14.2
100+
run: |
101+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
102+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
103+
g++ --version
100104
- name: Verify
101105
uses: competitive-verifier/actions/verify@v2
102106
with:
@@ -114,7 +118,7 @@ jobs:
114118
retention-days: 1
115119

116120
docs-and-check:
117-
runs-on: ubuntu-25.04
121+
runs-on: ubuntu-latest
118122
needs: [verify]
119123
outputs:
120124
upload-pages: ${{steps.upload-pages.outcome == 'success'}}
@@ -188,7 +192,7 @@ jobs:
188192
environment:
189193
name: github-pages
190194
url: ${{ steps.deployment.outputs.page_url }}
191-
runs-on: ubuntu-25.04
195+
runs-on: ubuntu-latest
192196
steps:
193197
- name: Deploy to GitHub Pages
194198
id: deployment

0 commit comments

Comments
 (0)