seizer-solitaire/.forgejo/workflows/dist.yaml

39 lines
1.5 KiB
YAML
Raw Normal View History

on: [push]
jobs:
build-dist:
runs-on: docker
steps:
- name: Setup Zig
uses: https://git.samsehu.perli.casa/Twins/action-setup-zig@v2.2.0
with:
version: 0.12.0
cache: false
- uses: actions/checkout@v4
- name: zig build dist
run: zig build dist --summary all -Doptimize=ReleaseSmall
- name: upload-artifact x86_64-linux-gnu
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.x86_64-linux-gnu
path: zig-out/bin/x86_64-linux-gnu/seizer-solitaire
- name: upload-artifact aarch64-linux-gnu
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.aarch64-linux-gnu
path: zig-out/bin/aarch64-linux-gnu/seizer-solitaire
- name: upload-artifact arm-linux-gnueabihf
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.arm-linux-gnueabihf
path: zig-out/bin/arm-linux-gnueabihf/seizer-solitaire
- name: upload-artifact wasm32-wasi-none
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.wasm32-wasi-none
path: zig-out/bin/wasm32-wasi-none/seizer-solitaire
- name: upload-artifact seizer-solitaire.html
uses: https://code.forgejo.org/forgejo/upload-artifact@v3
with:
name: seizer-solitaire.html
path: zig-out/www/seizer-solitaire.html