From f4f585e72905fd66660c39ee9e5396d0c342a0fb Mon Sep 17 00:00:00 2001 From: Andrej Rosano Date: Wed, 11 Sep 2024 11:56:30 +0200 Subject: [PATCH] github actions: add binfmt-support package --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f763b0492f7df1..7907a4cc502910 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,12 +8,20 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v4.1.7 + + - name: Prerequisites + run: | + sudo apt-get update + sudo apt-get install -y binfmt-support qemu-user-static + - name: Compile Go with make.bash run: | cd src ; ./make.bash + - name: Compile Go with all.bash run: | cd src ; ./clean.bash ; ./all.bash + - name: Run Go distribution tests under GOOS=tamago run: | GO_BUILDER_NAME="tamago" GOOS=tamago GOARCH=arm ./bin/go tool dist test