-
Notifications
You must be signed in to change notification settings - Fork 446
66 lines (52 loc) · 1.51 KB
/
actions.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Darling CI
on: [push, pull_request]
jobs:
build-deb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
shell: bash
run: |
git submodule update --init --recursive --depth=1
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install devscripts equivs debhelper
sudo mk-build-deps -i -r -t "apt-get --no-install-recommends -y" debian/control
# see https://github.com/actions/virtual-environments/issues/2606#issuecomment-772683150
- name: Free up space
run: |
sudo rm -rf /usr/share/dotnet
- name: Build DEBs
run: |
./tools/debian/make-deb
- name: Move DEBs
run: |
mkdir dist && mv ../*.deb dist
- name: Upload artifacts
uses: actions/[email protected]
with:
name: 'debs'
path: dist/
build-dsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
shell: bash
run: |
git submodule update --init --recursive --depth=1
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install devscripts equivs debhelper
- name: Build DSCs
run: |
./tools/debian/make-deb --dsc
- name: Move DSCs
run: |
mkdir source && mv ../*~$(lsb_release -cs).* source
- name: Upload artifacts
uses: actions/[email protected]
with:
name: 'source'
path: source/