-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
- Loading branch information
Showing
3 changed files
with
55 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
name: build-32 | ||
|
||
# Trigger the workflow on push or pull request | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
armv7_job: | ||
# The host should always be Linux | ||
runs-on: ubuntu-20.04 | ||
name: ubuntu-20.04 armv7 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout | ||
with: | ||
fetch-depth: 0 | ||
- uses: uraimo/run-on-arch-action@v2.0.5 | ||
name: Test and Build | ||
id: runcmd | ||
with: | ||
arch: armv7 | ||
distro: ubuntu20.04 | ||
githubToken: ${{ github.token }} | ||
|
||
setup: | | ||
mkdir -p "${PWD}/bin" | ||
dockerRunArgs: | | ||
--volume "${PWD}/bin:/bin" | ||
install: | | ||
apt update | ||
apt install -y fuse libfuse-dev rpm pkg-config curl | ||
apt upgrade -y | ||
export PATH=$PATH:/usr/local/go/bin | ||
rm -rf /usr/local/go | ||
mkdir -p /usr/local/go | ||
curl -s -L https://golang.org/dl/go1.17.linux-armv6l.tar.gz | tar -C /usr/local -xz | ||
go version | ||
run: | | ||
echo "Produced artifact at /artifacts/${artifact_name}" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters