Skip to content

Commit

Permalink
try brew install on max due to hanging install
Browse files Browse the repository at this point in the history
  • Loading branch information
bgreni committed Oct 24, 2024
1 parent bbffb07 commit f106fff
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
include:
- { target: linux-64, os: ubuntu-latest }
- { target: osx-arm64, os: macos-14 }
# - { target: osx-arm64, os: macos-14 }
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 10
Expand All @@ -30,9 +30,14 @@ jobs:
# Temporary method to fetch the rattler binary.
RATTLER_BINARY="rattler-build-aarch64-apple-darwin"
if [[ $TARGET_PLATFORM == "linux-64" ]]; then RATTLER_BINARY="rattler-build-x86_64-unknown-linux-musl"; fi
curl -SL --progress-bar https://github.com/prefix-dev/rattler-build/releases/latest/download/${RATTLER_BINARY} -o rattler-build
if [[ $TARGET_PLATFORM == "linux-64" ]]; then
RATTLER_BINARY="rattler-build-x86_64-unknown-linux-musl";
curl -SL --progress-bar https://github.com/prefix-dev/rattler-build/releases/latest/download/${RATTLER_BINARY} -o rattler-build
chmod +x rattler-build
else
brew install rattler-build
fi
magic run test || exit 1
magic run build --target-platform=$TARGET_PLATFORM || exit 1

0 comments on commit f106fff

Please sign in to comment.