Skip to content

Commit

Permalink
Merge pull request #3015 from felixhandte/enable-cet-test-illegal-ins…
Browse files Browse the repository at this point in the history
…truction

Add GitHub Action Checking that Zstd Runs Successfully Under CET
  • Loading branch information
felixhandte authored Jan 20, 2022
2 parents a8f1aa2 + 7cf80cb commit 330c97d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dev-short-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,27 @@ jobs:
DIR
.\fuzzer.exe -T2m
intel-cet-compatibility:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Zstd
run: |
make -j zstd V=1
readelf -n zstd
- name: Get Intel SDE
run: |
curl -LO https://downloadmirror.intel.com/684899/sde-external-9.0.0-2021-11-07-lin.tar.xz
tar xJvf sde-external-9.0.0-2021-11-07-lin.tar.xz
- name: Configure Permissions
run: |
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
- name: Run Under SDE
run: |
sde-external-9.0.0-2021-11-07-lin/sde -cet -cet-raise 0 -cet-endbr-exe -cet-stderr -cet-abort -- ./zstd -b3
# This test currently fails on Github Actions specifically.
# Possible reason : TTY emulation.
# Note that the same test works fine locally and on travisCI.
Expand Down

0 comments on commit 330c97d

Please sign in to comment.