-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45b4ab2
commit 3ac4479
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-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/ |