Skip to content

Commit

Permalink
ci: add pure seccomp to arm testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Riolku committed Jan 4, 2023
1 parent b366e00 commit 244c4a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
sandbox_mode: [ 'ptrace+seccomp' ]
steps:
- uses: actions/checkout@v3
- name: Download docker image
Expand Down Expand Up @@ -118,6 +119,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.11' ]
sandbox_mode: [ 'ptrace+seccomp', 'ptrace+seccomp+landlock' ]
steps:
- uses: actions/checkout@v3
- name: Download docker image
Expand All @@ -134,6 +136,7 @@ jobs:
export LANG=C.UTF-8
export PYTHONIOENCODING=utf8
export PYTHON="/code/python${{ matrix.python-version }}/bin/python${{ matrix.python-version }}"
export DMOJ_SANDBOX_MODE=${{ matrix.sandbox_mode }}
"$PYTHON" -m pip install --upgrade pip wheel
"$PYTHON" -m pip install cython coverage
Expand Down

0 comments on commit 244c4a1

Please sign in to comment.