Skip to content

Commit 4a18427

Browse files
committed
test architecture
1 parent c5590c2 commit 4a18427

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/testarch.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
armv7_job:
5+
# The host should always be Linux
6+
runs-on: ubuntu-18.04
7+
name: Build on ubuntu-18.04 armv7
8+
steps:
9+
- uses: actions/checkout@v2.1.0
10+
- uses: uraimo/run-on-arch-action@v2.0.5
11+
name: Run commands
12+
id: runcmd
13+
with:
14+
arch: armv7
15+
distro: ubuntu18.04
16+
17+
# Not required, but speeds up builds by storing container images in
18+
# a GitHub package registry.
19+
githubToken: ${{ github.token }}
20+
21+
# Set an output parameter `uname` for use in subsequent steps
22+
run: |
23+
uname -a
24+
echo ::set-output name=uname::$(uname -a)
25+
26+
- name: Get the output
27+
# Echo the `uname` output parameter from the `runcmd` step
28+
run: |
29+
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"

0 commit comments

Comments
 (0)