-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (28 loc) · 1 KB
/
build-ppa.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
name: Build Project (for Launchpad PPA)
on:
push:
branches: [ "main", "v0.1.1.x-servicing" ]
pull_request:
branches: [ "main", "v0.1.1.x-servicing" ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install required packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt autoremove dotnet*
sudo apt update
sudo NEEDRESTART_SUSPEND=1 apt install curl locales-all libunwind8-dev libcurl4-openssl-dev dotnet-sdk-8.0 libjack0 libportaudio2 libopenal1 libsdl2-2.0-0 libpulse0 libaudio2 devscripts debhelper-compat dput build-essential
- name: Initialize offline package
run: |
sudo ip netns add no-net
chmod +x tools/initializeoffline.sh
make debian-init-offline
make clean
- name: Try to build
run: |
sudo ip netns exec no-net make debian-all-offline