Skip to content

Commit 591be24

Browse files
authored
routine maintenance of CI #168
2 parents 607a52a + 9ab08a1 commit 591be24

File tree

17 files changed

+154
-35
lines changed

17 files changed

+154
-35
lines changed

.github/workflows/clang18.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: clang 18
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
name: Compiles with clang 18
8+
runs-on: ubuntu-24.04
9+
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v4
13+
- name: install packages
14+
run: sudo apt install build-essential nettle-dev time clang-18
15+
- name: bootstrap
16+
run: ./bootstrap.sh
17+
- name: configure
18+
run: ./configure CXX=clang++-18
19+
- name: build
20+
run: make
21+
- name: check
22+
run: make check
23+
- name: store the logs as an artifact
24+
if: ${{ always() }}
25+
uses: actions/upload-artifact@v4
26+
with:
27+
path: '**/*.log'
28+

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444

4545
- name: Install dependencies
4646
run: |

.github/workflows/cppcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: cppcheck
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55

66
jobs:
@@ -10,14 +10,14 @@ jobs:
1010

1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
- name: install packages
1515
run: sudo apt install cppcheck
1616
- name: run cppcheck
1717
run: cppcheck/run_cppcheck.sh
1818
- name: store the cppcheck output as an artifact
1919
if: ${{ always() }}
20-
uses: actions/upload-artifact@v3
20+
uses: actions/upload-artifact@v4
2121
with:
2222
path: 'cppcheck/out/*'
2323

.github/workflows/deterministic.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: test deterministic operation
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55

66
jobs:
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
- name: install packages
1515
run: sudo apt install build-essential nettle-dev time disorderfs
1616
- name: bootstrap
@@ -23,7 +23,7 @@ jobs:
2323
run: testcases/verify_deterministic_operation.sh
2424
- name: store logs as artifacts
2525
if: ${{ always() }}
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
path: '**/*.log'
2929

.github/workflows/gcc10.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: gcc 10
2+
3+
on: [pull_request]
4+
5+
6+
jobs:
7+
build:
8+
name: Compiles with gcc 10
9+
runs-on: ubuntu-22.04
10+
11+
steps:
12+
- name: checkout
13+
uses: actions/checkout@v4
14+
- name: install packages
15+
run: sudo apt install build-essential nettle-dev time gcc-10 g++-10
16+
- name: bootstrap
17+
run: ./bootstrap.sh
18+
- name: configure
19+
run: ./configure CXX=g++-10
20+
- name: build
21+
run: make
22+
- name: check
23+
run: make check
24+
- name: store the logs as an artifact
25+
if: ${{ always() }}
26+
uses: actions/upload-artifact@v4
27+
with:
28+
path: '**/*.log'
29+

.github/workflows/gcc11.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: gcc 11
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55

66
jobs:
77
build:
88
name: Compiles with gcc 11
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010

1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
- name: install packages
1515
run: sudo apt install build-essential nettle-dev time gcc-11 g++-11
1616
- name: bootstrap
@@ -23,7 +23,7 @@ jobs:
2323
run: make check
2424
- name: store the logs as an artifact
2525
if: ${{ always() }}
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
path: '**/*.log'
2929

.github/workflows/gcc12.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: gcc 12
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55

66
jobs:
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
- name: install packages
1515
run: sudo apt install build-essential nettle-dev time gcc-12 g++-12
1616
- name: bootstrap
@@ -23,7 +23,7 @@ jobs:
2323
run: make check
2424
- name: store the logs as an artifact
2525
if: ${{ always() }}
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
path: '**/*.log'
2929

.github/workflows/gcc13.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: gcc 13
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55

66
jobs:
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
- name: add ppa
1515
run: |
1616
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
@@ -27,7 +27,7 @@ jobs:
2727
run: make check
2828
- name: store the logs as an artifact
2929
if: ${{ always() }}
30-
uses: actions/upload-artifact@v3
30+
uses: actions/upload-artifact@v4
3131
with:
3232
path: '**/*.log'
3333

.github/workflows/gcc14.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: gcc 14
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
name: Compiles with gcc 14
8+
runs-on: ubuntu-24.04
9+
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v4
13+
- name: install packages
14+
run: sudo apt install build-essential nettle-dev time gcc-14 g++-14
15+
- name: bootstrap
16+
run: ./bootstrap.sh
17+
- name: configure
18+
run: ./configure CXX=g++-14
19+
- name: build
20+
run: make
21+
- name: check
22+
run: make check
23+
- name: store the logs as an artifact
24+
if: ${{ always() }}
25+
uses: actions/upload-artifact@v4
26+
with:
27+
path: '**/*.log'
28+

.github/workflows/gcc9.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: gcc 9
2+
3+
on: [pull_request]
4+
5+
6+
jobs:
7+
build:
8+
name: Compiles with gcc 9
9+
runs-on: ubuntu-22.04
10+
11+
steps:
12+
- name: checkout
13+
uses: actions/checkout@v4
14+
- name: install packages
15+
run: sudo apt install build-essential nettle-dev time gcc-9 g++-9
16+
- name: bootstrap
17+
run: ./bootstrap.sh
18+
- name: configure
19+
run: ./configure CXX=g++-9
20+
- name: build
21+
run: make
22+
- name: check
23+
run: make check
24+
- name: store the logs as an artifact
25+
if: ${{ always() }}
26+
uses: actions/upload-artifact@v4
27+
with:
28+
path: '**/*.log'
29+

0 commit comments

Comments
 (0)