created action

This commit is contained in:
2023-10-31 10:30:23 -04:00
committed by GitHub
parent 2f355aba82
commit 525e250e1f

30
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
on: [push, pull_request,workflow_dispatch]
jobs:
armv7_job:
# The host should always be Linux
runs-on: ubuntu-22.04
name: Build on ubuntu-18.04 armv7
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: runcmd
with:
arch: aarch64
distro: ubuntu-22.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
docker ps
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 }}"