Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,34 @@ jobs:
linux-build-aarch64:
if: ${{ github.event.inputs.inplinuxaarch64 == '' || github.event.inputs.inplinuxaarch64 == 'yes' }}
runs-on: [linux-arm64]
container: "cynkra/actions-runner:2-alpine-rootful"
name: Linux build aaarch
env:
RUST_BACKTRACE: 1

steps:

- name: Install build tools
run: |
id
pwd
ls -l
ls -ld
sudo apk add curl nodejs-current linux-headers bash gcc musl-dev g++ pkgconf make file &&
cd && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rust.sh && sh rust.sh -y &&
curl -LO https://github.com/goreleaser/nfpm/releases/download/v2.32.0/nfpm_2.32.0_$(arch).apk &&
sudo apk add --allow-untrusted nfpm*.apk &&
rm nfpm*.apk

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 10

- name: Build rig
run: |
make linux-in-docker
. "$HOME/.cargo/env"
make linux

- name: Upload build as artifact
uses: actions/upload-artifact@v4
Expand Down
5 changes: 3 additions & 2 deletions tools/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ fi
rm -rf /home/$user
mv /home/rigbuild /home/$user

chown $user:$group /home/rig
chown $user:$group /home/rig/.cargo
chown $user:$group /home/$user
chown $user:$group /home/$user/.cargo

export PATH=/home/$user/.cargo/bin:$PATH
exec su -s /bin/sh $user sh -l -c "cd /work && $*"
Loading