mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-10 00:46:30 +00:00
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
name: build
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
app:
|
|
- calibre
|
|
- dotnet
|
|
- go
|
|
- java
|
|
- mp3tag
|
|
- musikcube
|
|
- musl
|
|
- node
|
|
- pinta
|
|
- pypy
|
|
- renpy
|
|
- rust
|
|
- tex
|
|
- wine
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
- name: Install packaging dependencies
|
|
run: sudo apt install -y aria2 libarchive-tools
|
|
- name: Setup DwarFS
|
|
run: |
|
|
sudo cp appdwarf /bin
|
|
sudo wget https://github.com/mhx/dwarfs/releases/download/v0.9.6/dwarfs-universal-0.9.6-Linux-x86_64-clang -O /bin/mkdwarfs
|
|
sudo chmod +x /bin/mkdwarfs
|
|
- name: Build image
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: |
|
|
cd apps
|
|
./mk${{ matrix.app }}
|
|
- name: Upload build artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ${{ matrix.app }}
|
|
path: |
|
|
bin/${{ matrix.app }}
|