Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
berry120 committed Dec 18, 2023
1 parent a963c74 commit d16a36f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,26 @@ jobs:
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
env:
DISPLAY: :99
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
env:
DISPLAY: :99
run: |
wget http://files.jrsoftware.org/is/5/innosetup-5.6.1.exe
Xvfb $DISPLAY &
wine wineboot --init
echo "Installing INNOSETUP"
wine innosetup-5.6.1.exe /VERYSILENT /SUPPRESSMSGBOXES
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
cd Quelea
chmod +x gradlew
chmod +x build-install.sh
./gradlew -Dnightly=true -Dversionsuffix=CI-UNSTABLE clean dist
ls -l
ls -l dist/standalone
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
Expand All @@ -45,4 +43,4 @@ jobs:
prerelease: true
make_latest: false
file_glob: true
body: "CI release"
body: "**This is a CI Build, built from the latest copy of the source code automatically. It's not an official release and we don't recommend using this in production.**<br/>Quelea is also distributed as a Linux snap package. To install it, make sure snap is installed then run:<pre>sudo snap install --edge quelea</pre>"

0 comments on commit d16a36f

Please sign in to comment.