Skip to content

Commit

Permalink
Test run-on-arch-action
Browse files Browse the repository at this point in the history
  • Loading branch information
widgetii committed Mar 24, 2024
1 parent c4b2570 commit 03be4c6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push]

jobs:
build:
name: Test on QEMU ${{ matrix.arch }} and ${{ matrix.distro }}

# The host should always be linux
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- arch: aarch64
distro: ubuntu22.04
- arch: aarch64
distro: bullseye
- arch: ppc64le
distro: alpine_latest
- arch: none
distro: none
base_image: riscv64/busybox

steps:
- uses: actions/checkout@v4

- uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}

# Not required, but speeds up builds
githubToken: ${{ github.token }}

shell: ./install.sh
File renamed without changes.

0 comments on commit 03be4c6

Please sign in to comment.