-
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.
- Loading branch information
Paul Dreik
committed
Jan 12, 2025
1 parent
5ee23be
commit 0a6b58b
Showing
3 changed files
with
126 additions
and
0 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,42 @@ | ||
name: debian 12 bookworm | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- devel | ||
pull_request: | ||
|
||
|
||
jobs: | ||
container-test-job: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: debian:bookworm-slim | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure --enable-warnings CXXFLAGS=-std=c++11 | ||
- name: make | ||
run: make | ||
- name: make check | ||
run: make check | ||
- name: make distcheck | ||
run: make distcheck CXXFLAGS=-std=c++11 | ||
- name: build with hardened build flags | ||
run: | | ||
make clean | ||
eval $(DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh) | ||
./configure | ||
make | ||
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,42 @@ | ||
name: debian 11 bullseye | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- devel | ||
pull_request: | ||
|
||
|
||
jobs: | ||
container-test-job: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: debian:bullseye-slim | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure --enable-warnings CXXFLAGS=-std=c++11 | ||
- name: make | ||
run: make | ||
- name: make check | ||
run: make check | ||
- name: make distcheck | ||
run: make distcheck CXXFLAGS=-std=c++11 | ||
- name: build with hardened build flags | ||
run: | | ||
make clean | ||
eval $(DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh) | ||
./configure | ||
make | ||
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,42 @@ | ||
name: debian 13 trixie | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- devel | ||
pull_request: | ||
|
||
|
||
jobs: | ||
container-test-job: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: debian:trixie-slim | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install packages | ||
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes | ||
- name: bootstrap | ||
run: ./bootstrap.sh | ||
- name: configure | ||
run: ./configure --enable-warnings CXXFLAGS=-std=c++11 | ||
- name: make | ||
run: make | ||
- name: make check | ||
run: make check | ||
- name: make distcheck | ||
run: make distcheck CXXFLAGS=-std=c++11 | ||
- name: build with hardened build flags | ||
run: | | ||
make clean | ||
eval $(DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh) | ||
./configure | ||
make | ||
make check | ||
- name: store the logs as an artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: '**/*.log' |