forked from Frogging-Family/wine-tkg-git
-
Notifications
You must be signed in to change notification settings - Fork 9
32 lines (28 loc) · 1.03 KB
/
wine-ubuntu.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
name: Wine Ubuntu CI
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Compilation
run: |
sudo dpkg --add-architecture i386 && sudo apt update
sudo apt install aptitude
sudo aptitude remove -y '?narrow(?installed,?version(deb.sury.org))'
sudo apt install libxkbregistry-dev
cd wine-tkg-git
sed -i 's/pkgname=wine-tkg/pkgname=wine-xiv/' non-makepkg-build.sh
sed -i 's/distro=""/distro="debuntu"/' customization.cfg
sed -i 's/_wayland_driver="false"/_wayland_driver="true"/' customization.cfg
sed -i 's/_NOLIB32="false"/_NOLIB32="wow64"/' wine-tkg-profiles/advanced-customization.cfg
echo '_ci_build="true"' >> customization.cfg
touch tarplz
yes|./non-makepkg-build.sh
- name: Archive the artifacts
uses: actions/upload-artifact@v4
with:
name: wine-tkg-build
path: wine-tkg-git/non-makepkg-builds