-
Notifications
You must be signed in to change notification settings - Fork 38
46 lines (37 loc) · 1.17 KB
/
build-umu-zipapp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: UMU Zipapp Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
container:
image: debian:bookworm
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v4
- 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 cargo
- 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
# To preserve file mode bits and link file, use a tar archive.
# See https://github.com/actions/upload-artifact?tab=readme-ov-file#permission-loss
run: cd results && ln -s umu-run umu_run.py && tar cvf Zipapp.tar umu-run umu_run.py
- name: Upload artifact
uses: actions/[email protected]
with:
name: Zipapp
path: results/Zipapp.tar