Skip to content

Commit

Permalink
Replace Travis-CI with GitHub actions (qzind#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf authored Sep 1, 2021
1 parent e30adf2 commit 7a3c73d
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 30 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build QZ Tray

on: [push]

jobs:
ubuntu:
runs-on: [ubuntu-latest]
strategy:
matrix:
java: [11, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- run: sudo apt-get install nsis makeself
- run: ant makeself
- run: sudo out/qz-tray-*.run
- run: /opt/qz-tray/qz-tray --version
- run: ant nsis

macos:
runs-on: [macos-latest]
strategy:
matrix:
java: [11, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- run: brew install nsis makeself
- run: ant pkgbuild
- run: sudo installer -pkg out/qz-tray-*.pkg -target /
- run: "'/Applications/QZ Tray.app/Contents/MacOS/QZ Tray' --version"
- run: ant makeself
- run: ant nsis

windows:
runs-on: [windows-latest]
strategy:
matrix:
java: [11, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- run: choco install nsis
- run: ant nsis
- run: Start-Process -Wait ./out/qz-tray-*.exe -ArgumentList "/S"
- run: "&'C:/Program Files/QZ Tray/qz-tray.exe' --wait --version|Out-Null"
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

0 comments on commit 7a3c73d

Please sign in to comment.