diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 128f35b..98453ad 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -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: | diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 7bb6b82..d67c8d1 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -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