Skip to content

Commit

Permalink
Merge pull request #4285 from randombit/jack/no-pcurves-ci
Browse files Browse the repository at this point in the history
Add a CI job that builds with all pcurves disabled
  • Loading branch information
randombit authored Aug 4, 2024
2 parents d5062e5 + 2bfeeb3 commit 26296f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ jobs:
- target: docs
compiler: gcc
host_os: ubuntu-24.04
- target: no_pcurves
compiler: gcc
host_os: ubuntu-24.04

runs-on: ${{ matrix.host_os }}

Expand Down
4 changes: 4 additions & 0 deletions src/scripts/ci_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def known_targets():
'limbo',
'minimized',
'nist',
'no_pcurves',
'sanitizer',
'shared',
'static',
Expand Down Expand Up @@ -206,6 +207,9 @@ def sanitize_kv(some_string):
if target in ['minimized']:
flags += ['--minimized-build', '--enable-modules=system_rng,sha2_32,sha2_64,aes']

if target in ['no_pcurves']:
flags += ['--disable-modules=pcurves_impl']

if target in ['amalgamation', 'cross-arm64-amalgamation', 'cross-android-arm64-amalgamation']:
flags += ['--amalgamation']

Expand Down

0 comments on commit 26296f1

Please sign in to comment.