Skip to content

Commit

Permalink
add ISPC to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samayala22 committed Feb 14, 2024
1 parent 1f33f32 commit 0af4f2d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Download ISPC
run: |
curl -L "https://github.com/ispc/ispc/releases/download/v1.22.0/ispc-v1.22.0-linux.tar.gz" -o ispc.tar.gz
tar -xzf ispc.tar.gz
echo "${PWD}/ispc-v1.22.0-linux/bin" >> $GITHUB_PATH
# Install system dependencies (opengl)
- name: Install system dependencies
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Download ISPC
run: |
Invoke-WebRequest -Uri "https://github.com/ispc/ispc/releases/download/v1.22.0/ispc-v1.22.0-windows.zip" -OutFile "ispc.zip"
7z x ispc.zip
"ispc-v1.22.0-windows/bin" >> $env:GITHUB_PATH
# Force xmake to a specific folder (for cache)
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
Expand Down

0 comments on commit 0af4f2d

Please sign in to comment.