Create build-linux.yml

This commit is contained in:
Kevin Pfeifer 2024-05-15 03:12:53 +02:00 committed by GitHub
parent 8d0585729b
commit 1e3d9e759e
1 changed files with 29 additions and 0 deletions

29
.github/workflows/build-linux.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: cross compile linux
on:
push:
jobs:
buildx:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["amd64/ubuntu", "arm64v8/ubuntu", "i386/ubuntu", "arm32v7/ubuntu"]
steps:
-
name: Checkout
uses: actions/checkout@v4
-
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Run build process with Docker
uses: addnab/docker-run-action@v3
with:
image: ${{ matrix.container }}
options: -v ${{ github.workspace }}:/workspace
run: |
echo "Hello World!"
uname -a