-
Notifications
You must be signed in to change notification settings - Fork 33
47 lines (37 loc) · 1.07 KB
/
build-umu-debian-12.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
47
name: UMU Deb Build - Debian 12
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: Copy debian packaging folder to the repository root
run: cp -rvf ./packaging/deb/debian ./debian
- name: Update APT Cache
run: apt update -y
- name: Install build dependencies
run: apt install -y dh-make dpkg-dev
- name: Setup dh_make quilt files
run: LOGNAME=root dh_make --createorig -y -l -p umu-launcher_1.1.4 || true
- name: Install apt build dependencies
run: apt build-dep -y ./
- name: Build
run: dpkg-buildpackage --no-sign
- name: Move DEB files to upload artifact path
run: mkdir -p results && cp -rvf ../*.deb results/
- name: Upload artifact
uses: actions/[email protected]
with:
name: Debian-12
path: results/