Skip to content

Commit

Permalink
#25: Generate arm64 releases and upload part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Aug 17, 2021
1 parent 1cf33fa commit b2d8a29
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
fi
# @NOTE: We cannot cross-compile arm64 builds on x64 runners so we run through docker for now
# @TODO: switch this to use arm64 runners whenever those are available
- name: Package ${{ matrix.platform }} CLI
uses: uraimo/run-on-arch-action@v2.0.5
if: ${{ matrix.arch == 'arm64' }}
Expand All @@ -76,14 +77,21 @@ jobs:
dockerRunArgs: |
--volume "${PWD}:/tmp/build"
--workdir /tmp/build
env: | # YAML, but pipe character is necessary
env: |
BUILD_PLATFORM: ${{ matrix.platform }}
BUILD_ARCH: ${{ matrix.arch }}
# We need to install node and yarn "again" because they dont exist inside our build container
setup: |
mkdir -p /tmp/build/dist/@lando
apt -y update
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt -y install nodejs
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt -y update && apt -y install yarn
run: |
uname -a
ls -lsa /tmp/build
mkdir -p /tmp/build/dist/@lando
touch /tmp/build/dist/@lando/hyperdrive-$BUILD_PLATFORM-$BUILD_ARCH
node -v
yarn -v
Expand Down

0 comments on commit b2d8a29

Please # to comment.