File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -611,8 +611,10 @@ jobs:
611611 fail-fast : false
612612 matrix :
613613 os : [ ubuntu-latest, macos-latest ]
614+ cflags :
615+ - ' -O3'
614616 env :
615- CFLAGS : ' -O3 '
617+ CFLAGS : ${{ matrix.cflags }}
616618 runs-on : ubuntu-latest
617619 steps :
618620 - uses : actions/checkout@v4
@@ -623,3 +625,28 @@ jobs:
623625 run : cargo test -p aws-lc-rs --all-targets
624626 - name : Run tests w/ FIPS
625627 run : cargo test -p aws-lc-rs --all-targets --features fips
628+
629+ hardened-environment :
630+ if : github.repository_owner == 'aws'
631+ name : Hardened environment
632+ strategy :
633+ fail-fast : false
634+ matrix :
635+ os :
636+ - ubuntu-latest
637+ cflags :
638+ - ' -O2 -fhardened'
639+ gcc_version :
640+ - 14
641+ env :
642+ CC : gcc-${{ matrix.gcc_version }}
643+ CXX : g++-${{ matrix.gcc_version }}
644+ CFLAGS : ${{ matrix.cflags }}
645+ runs-on : ubuntu-latest
646+ steps :
647+ - uses : actions/checkout@v4
648+ with :
649+ submodules : ' recursive'
650+ - uses : dtolnay/rust-toolchain@stable
651+ - name : Run tests
652+ run : cargo test -p aws-lc-rs --all-targets
You can’t perform that action at this time.
0 commit comments