Initial commit: RomM Companion NextUI Pak v0.1.0
This commit is contained in:
commit
3614f4232c
16 files changed
+5495
No files matched your search
@@ -0,0 +1,44 @@
|
||||
name: CI & Pak Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
tags: ["v*"]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Validate shell scripts
|
||||
run: |
|
||||
sh -n pak/launch.sh
|
||||
bash -n build-pak.sh
|
||||
- name: Run unit tests
|
||||
run: cargo test
|
||||
|
||||
build-pak:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: aarch64-unknown-linux-musl
|
||||
- name: Install zig & cargo-zigbuild
|
||||
run: |
|
||||
pip3 install ziglang
|
||||
cargo install cargo-zigbuild --locked
|
||||
- name: Build NextUI Pak
|
||||
run: ./build-pak.sh
|
||||
- name: Zip Pak artifact
|
||||
run: |
|
||||
cd dist
|
||||
zip -r "../RomM-Companion-NextUI.pak.zip" "RomM Companion.pak"
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: RomM-Companion-NextUI-pak
|
||||
path: RomM-Companion-NextUI.pak.zip
|
||||
Reference in new issue
Block a user