ci: add packing job
This commit is contained in:
parent
1791063fa8
commit
3836d1480b
6 changed files with 72 additions and 44 deletions
29
.github/workflows/package.yaml
vendored
Normal file
29
.github/workflows/package.yaml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Package
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [linux/arm64/v8]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
platforms: linux/arm64
|
||||
|
||||
- name: Prepare container
|
||||
run: docker buildx build -f ci/Dockerfile . -t libcreate --platform ${{ matrix.platform }} --load
|
||||
- name: Build
|
||||
run: docker run --platform ${{ matrix.platform }} -v ./output:/libcreate/_packages libcreate
|
Loading…
Add table
Add a link
Reference in a new issue