Skip to content

Commit 03c9e65

Browse files
committed
ci, gha: Add "x86_64: Linux (Debian stable)" GitHub Actions job
1 parent ad3e65d commit 03c9e65

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

.github/workflows/ci.yml

+65
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,71 @@ jobs:
6161
cache-from: type=gha
6262
cache-to: type=gha,mode=min
6363

64+
linux_debian:
65+
name: "x86_64: Linux (Debian stable)"
66+
runs-on: ubuntu-latest
67+
needs: docker_cache
68+
69+
strategy:
70+
fail-fast: false
71+
matrix:
72+
configuration:
73+
- env_vars: { WIDEMUL: 'int64', RECOVERY: 'yes' }
74+
- env_vars: { WIDEMUL: 'int64', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
75+
- env_vars: { WIDEMUL: 'int128' }
76+
- env_vars: { WIDEMUL: 'int128_struct', ELLSWIFT: 'yes' }
77+
- env_vars: { WIDEMUL: 'int128', RECOVERY: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
78+
- env_vars: { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes' }
79+
- env_vars: { WIDEMUL: 'int128', ASM: 'x86_64', ELLSWIFT: 'yes' }
80+
- env_vars: { RECOVERY: 'yes', SCHNORRSIG: 'yes' }
81+
- env_vars: { CTIMETESTS: 'no', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', CPPFLAGS: '-DVERIFY' }
82+
- env_vars: { BUILD: 'distcheck', WITH_VALGRIND: 'no', CTIMETESTS: 'no', BENCH: 'no' }
83+
- env_vars: { CPPFLAGS: '-DDETERMINISTIC' }
84+
- env_vars: { CFLAGS: '-O0', CTIMETESTS: 'no' }
85+
- env_vars: { CFLAGS: '-O1', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
86+
- env_vars: { ECMULTGENPRECISION: 2, ECMULTWINDOW: 2 }
87+
- env_vars: { ECMULTGENPRECISION: 8, ECMULTWINDOW: 4 }
88+
cc:
89+
- 'gcc'
90+
- 'clang'
91+
- 'gcc-snapshot'
92+
- 'clang-snapshot'
93+
94+
env:
95+
CC: ${{ matrix.cc }}
96+
97+
steps:
98+
- name: Checkout
99+
uses: actions/checkout@v3
100+
101+
- name: CI script
102+
env: ${{ matrix.configuration.env_vars }}
103+
uses: ./.github/actions/run-in-docker-action
104+
with:
105+
dockerfile: ./ci/linux-debian.Dockerfile
106+
tag: linux-debian-image
107+
command: >
108+
git config --global --add safe.directory ${{ github.workspace }} &&
109+
./ci/ci.sh
110+
111+
- run: cat tests.log || true
112+
if: ${{ always() }}
113+
- run: cat noverify_tests.log || true
114+
if: ${{ always() }}
115+
- run: cat exhaustive_tests.log || true
116+
if: ${{ always() }}
117+
- run: cat ctime_tests.log || true
118+
if: ${{ always() }}
119+
- run: cat bench.log || true
120+
if: ${{ always() }}
121+
- run: cat config.log || true
122+
if: ${{ always() }}
123+
- run: cat test_env.log || true
124+
if: ${{ always() }}
125+
- name: CI env
126+
run: env
127+
if: ${{ always() }}
128+
64129
mingw_debian:
65130
name: ${{ matrix.configuration.job_name }}
66131
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)