Skip to content

Commit 7eebdea

Browse files
committed
Update workflows
1 parent 54ccd15 commit 7eebdea

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.github/workflows/examples.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444

4545
steps:
4646
- uses: actions/checkout@v4
47+
48+
- uses: ./.github/workflows/gcc13.yml
4749

4850
- name: Set reusable strings
4951
id: strings

.github/workflows/gcc13.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: GCC 13
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
8+
common-steps:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Install GCC 13.3
15+
run: |
16+
sudo apt-get update
17+
sudo apt-get install -y software-properties-common
18+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
19+
sudo apt-get install -y gcc-13 g++-13
20+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 130
21+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 130
22+
sudo update-alternatives --config gcc
23+
sudo update-alternatives --config g++

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@v4
4747

48+
- uses: ./.github/workflows/gcc13.yml
49+
4850
- name: Set reusable strings
4951
id: strings
5052
shell: bash

0 commit comments

Comments
 (0)