2020-05-04 03:05:04 +00:00
|
|
|
name: Release Builds
|
|
|
|
on: push
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-and-store-artifact:
|
|
|
|
name: Build
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-05-04 03:25:00 +00:00
|
|
|
os: [ windows-latest, ubuntu-latest, macos-latest ]
|
2020-05-04 03:05:04 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2020-05-04 03:09:00 +00:00
|
|
|
#- uses: ilammy/msvc-dev-cmd@v1
|
|
|
|
- name: Install Qt
|
|
|
|
uses: jurplel/install-qt-action@v2
|
2020-05-04 03:05:04 +00:00
|
|
|
- name: Make GNU
|
|
|
|
if: matrix.os != 'windows-latest'
|
|
|
|
working-directory: ./buckshot
|
|
|
|
run: qmake ; make
|
|
|
|
shell: bash
|
|
|
|
- name: Make Windows
|
|
|
|
if: matrix.os == 'windows-latest'
|
|
|
|
working-directory: ./src
|
|
|
|
run: qmake ; make
|