-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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,29 @@ | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
armv7_job: | ||
# The host should always be Linux | ||
runs-on: ubuntu-18.04 | ||
name: Build on ubuntu-18.04 armv7 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: uraimo/run-on-arch-action@v2 | ||
name: Run commands | ||
id: runcmd | ||
with: | ||
arch: armv7 | ||
distro: ubuntu18.04 | ||
|
||
# Not required, but speeds up builds by storing container images in | ||
# a GitHub package registry. | ||
githubToken: ${{ github.token }} | ||
|
||
# Set an output parameter `uname` for use in subsequent steps | ||
run: | | ||
uname -a | ||
echo ::set-output name=uname::$(uname -a) | ||
- name: Get the output | ||
# Echo the `uname` output parameter from the `runcmd` step | ||
run: | | ||
echo "The uname output was ${{ steps.runcmd.outputs.uname }}" |