Skip to content

Merge pull request #27 from rankynbass/wine-xiv-git/ubuntu-CI-fix #66

Merge pull request #27 from rankynbass/wine-xiv-git/ubuntu-CI-fix

Merge pull request #27 from rankynbass/wine-xiv-git/ubuntu-CI-fix #66

Workflow file for this run

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