Wine Ubuntu CI #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wine Ubuntu CI | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
["v[0-9]+.[0-9]+", "v[0-9]+.[0-9]+.[0-9]+"] | |
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 libxkbregistry0 libxkbregistry-dev | |
cd wine-tkg-git | |
sed -i 's/pkgname=wine-tkg/pkgname=unofficial-wine-xiv/' non-makepkg-build.sh | |
sed -i 's/_NOLIB32="false"/_NOLIB32="wow64"/' wine-tkg-profiles/advanced-customization.cfg | |
sed -i 's/"-W ntdll-NtAlertThreadByThreadId"/"-W ntdll-NtAlertThreadByThreadId -W vcomp_for_dynamic_init_i8"/' wine-tkg-profiles/advanced-customization.cfg | |
for f in wine-tkg-userpatches/wine/*.patch; do mv "$f" "wine-tkg-userpatches/$(basename ${f%.patch}).mypatch"; done | |
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-xiv-ubuntu | |
path: wine-tkg-git/non-makepkg-builds |