-
Notifications
You must be signed in to change notification settings - Fork 42
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 890ea8c
Showing
1 changed file
with
39 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,39 @@ | ||
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 build-dep -y ./ | ||
|
||
- name: Build | ||
run: ./configure.sh --user-install | ||
|
||
- 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/ |