Skip to content

Commit

Permalink
add aarch64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed May 23, 2024
1 parent 00dde30 commit 697441a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/holochain-binaries-manually.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [windows-2019]
platform: [macos-latest]
# platform: [windows-2019, macos-11, ubuntu-22.04]
permissions:
contents: write
Expand Down Expand Up @@ -60,24 +60,24 @@ jobs:
$env:HOLOCHAIN_VERSION = $(node -p -e "require('./config.json').holochainVersion")
# $env:SODIUM_LIB_DIR="$(pwd)\vcpkg\packages\libsodium_x64-windows-release\lib"
cargo install holochain --git https://github.com/matthme/holochain --rev 25b2da432ad0067dcd3099008dc4c2b53a2ba971
cargo install holochain --git https://github.com/matthme/holochain --rev 25b2da432ad0067dcd3099008dc4c2b53a2ba971 --locked
$HcPath = Get-Command holochain | Select-Object -ExpandProperty Definition
Copy-Item $HcPath -Destination holochain-v$env:HOLOCHAIN_VERSION-x86_64-pc-windows-msvc.exe
gh release upload --clobber "holochain-binaries-0.3.0-beta-dev.42-1ddfd2d" "holochain-v$env:HOLOCHAIN_VERSION-x86_64-pc-windows-msvc.exe"
- name: setup binaries (macos only)
if: matrix.platform == 'macos-11'
if: matrix.platform == 'macos-latest'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
HOLOCHAIN_VERSION=$(node -p -e "require('./config.json').holochainVersion")
cargo install holochain --git https://github.com/matthme/holochain --rev 25b2da432ad0067dcd3099008dc4c2b53a2ba971
cargo install holochain --git https://github.com/matthme/holochain --rev 25b2da432ad0067dcd3099008dc4c2b53a2ba971 --target aarch64-apple-darwin --locked
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH holochain-v$HOLOCHAIN_VERSION-x86_64-apple-darwin
cp $HOLOCHAIN_PATH holochain-v$HOLOCHAIN_VERSION-aarch64-apple-darwin
gh release upload "${GITHUB_REF#refs/tags/}" "holochain-v$HOLOCHAIN_VERSION-x86_64-apple-darwin"
gh release upload "${GITHUB_REF#refs/tags/}" "holochain-v$HOLOCHAIN_VERSION-aarch64-apple-darwin"
- name: setup binaries (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
Expand All @@ -86,7 +86,7 @@ jobs:
run: |
HOLOCHAIN_VERSION=$(node -p -e "require('./config.json').holochainVersion")
cargo install holochain --git https://github.com/matthme/holochain --rev 25b2da432ad0067dcd3099008dc4c2b53a2ba971
cargo install holochain --git https://github.com/matthme/holochain --rev 25b2da432ad0067dcd3099008dc4c2b53a2ba971 --locked
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH holochain-v$HOLOCHAIN_VERSION-x86_64-unknown-linux-gnu
Expand Down

0 comments on commit 697441a

Please sign in to comment.