-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update actions versions - only build on pull request - add missing compilers, so I know when backwards compatibility is broken
- Loading branch information
Paul Dreik
committed
Jan 11, 2025
1 parent
2938fb2
commit 9ab08a1
Showing
12 changed files
with
138 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: clang 18 | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Compiles with clang 18 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: sudo apt install build-essential nettle-dev time clang-18 | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure CXX=clang++-18 | ||
- name: build | ||
run: make | ||
- name: check | ||
run: make check | ||
- name: store the logs as an artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: '**/*.log' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: gcc 10 | ||
|
||
on: [pull_request] | ||
|
||
|
||
jobs: | ||
build: | ||
name: Compiles with gcc 10 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: sudo apt install build-essential nettle-dev time gcc-10 g++-10 | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure CXX=g++-10 | ||
- name: build | ||
run: make | ||
- name: check | ||
run: make check | ||
- name: store the logs as an artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: '**/*.log' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: gcc 14 | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Compiles with gcc 14 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: sudo apt install build-essential nettle-dev time gcc-14 g++-14 | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure CXX=g++-14 | ||
- name: build | ||
run: make | ||
- name: check | ||
run: make check | ||
- name: store the logs as an artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: '**/*.log' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: gcc 9 | ||
|
||
on: [pull_request] | ||
|
||
|
||
jobs: | ||
build: | ||
name: Compiles with gcc 9 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: sudo apt install build-essential nettle-dev time gcc-9 g++-9 | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure CXX=g++-9 | ||
- name: build | ||
run: make | ||
- name: check | ||
run: make check | ||
- name: store the logs as an artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: '**/*.log' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
name: build variants | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
|
||
jobs: | ||
build: | ||
name: Runs the quality script | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: sudo apt install build-essential nettle-dev time libc6-i386 gcc-multilib g++-multilib valgrind libc++-dev libc++abi-dev clang | ||
- name: run do_quality_checks.sh | ||
run: ./do_quality_checks.sh | ||
- name: store logs as artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: '**/*.log' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters