Add workflow #10
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: Master updated | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java | |
run: | | |
sudo apt-get -q update | |
sudo apt-get -yq install gnupg curl | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 | |
curl -O https://cdn.azul.com/zulu/bin/zulu11.68.17-ca-fx-jdk11.0.21-linux_amd64.deb | |
sudo apt-get -y install ./zulu11.68.17-ca-fx-jdk11.0.21-linux_amd64.deb | |
- name: Environment setup | |
run: | | |
sudo apt install -y wine xvfb | |
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
cd Quelea | |
chmod +x gradlew | |
chmod +x build-install.sh | |
wget http://files.jrsoftware.org/is/5/innosetup-5.6.1.exe | |
wineboot --update | |
Xvfb :0 -screen 0 1024x768x16 & | |
DISPLAY=:0.0 wine innosetup-5.6.1.exe /VERYSILENT /SUPPRESSMSGBOXES | |
"./gradlew -Dnightly=true -Dversionsuffix=CI-UNSTABLE clean dist" |