Skip to content

Commit

Permalink
add zipapp workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Oct 19, 2024
1 parent 45b4ab2 commit 92f26b1
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build-umu-zipapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: UMU Zipapp Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
container:
image: debian:bookworm
volumes:
- /proc:/proc
options: --privileged -it

steps:
- uses: actions/checkout@v2

- name: Update APT Cache
run: apt update -y

- name: Install build dependencies
run: apt install -y python3-venv python3-all bash make scdoc python3-hatchling python3-installer python3-build

- name: Configure
run: ./configure.sh --user-install

- name: Build
run: make all

- name: Move DEB files to upload artifact path
run: mkdir -p results && cp -rvf builddir/umu-run results/

- name: Create symlink for launchers
run: cd results && ln -s umu-run umu_run.py && cd ..

- name: Upload artifact
uses: actions/[email protected]
with:
name: Binary Zipapp files
path: results/

0 comments on commit 92f26b1

Please sign in to comment.