Skip to content

Commit

Permalink
Check is-fork in the job
Browse files Browse the repository at this point in the history
  • Loading branch information
diegorusso committed Dec 3, 2024
1 parent 765fc2a commit f2fcfe7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/jit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,17 @@ jobs:
- false
is-fork: # only used for the exclusion trick
- ${{ github.repository_owner != 'python' }}
exclude:
- os: ubuntu-24.04-aarch64
is-fork: true
#exclude:
# - os: ubuntu-24.04-aarch64
#is-fork: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: ${{ runner.os }} (${{ runner.arch }})
if: matrix.is-fork != "false"
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ env.llvm }}
export PATH="$(llvm-config-${{ env.llvm }} --bindir):$PATH"
Expand Down

0 comments on commit f2fcfe7

Please sign in to comment.