Skip to content

Commit

Permalink
fix: update working-directory for SDK downloads and installations in …
Browse files Browse the repository at this point in the history
…CI workflow
  • Loading branch information
wmmc88 committed Feb 25, 2025
1 parent 570d80c commit 78455e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ jobs:
if: startsWith(matrix.build, 'cross-macos') || startsWith(matrix.build, 'cross-ios')
run: sudo apt-get install llvm
- name: Download macOS SDK
working-directory: ${{ runner.temp }}
if: startsWith(matrix.build, 'cross-macos')
run: |
wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz
tar -xf MacOSX11.3.sdk.tar.xz
echo "SDKROOT=$(pwd)/MacOSX11.3.sdk" >> $GITHUB_ENV
- name: Download iOS SDK
working-directory: ${{ runner.temp }}
if: startsWith(matrix.build, 'cross-ios')
run: |
wget https://github.com/xybp888/iOS-SDKs/releases/download/iOS18.1-SDKs/iPhoneOS18.1.sdk.zip
Expand Down Expand Up @@ -283,7 +285,7 @@ jobs:
echo "WASI_TOOLCHAIN_VERSION=$VERSION" >> "$GITHUB_ENV"
- name: Install wasi-sdk
working-directory: /tmp
working-directory: ${{ runner.temp }}
env:
REPO: WebAssembly/wasi-sdk
run: |
Expand Down Expand Up @@ -316,6 +318,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install cuda-minimal-build-11-8
working-directory: ${{ runner.temp }}
shell: bash
run: |
# https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_network
Expand Down

0 comments on commit 78455e6

Please sign in to comment.