2021-04-10 22:05:12 +00:00
|
|
|
name: Package
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-macos:
|
|
|
|
|
|
|
|
runs-on: macos-latest
|
|
|
|
timeout-minutes: 15
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
python-version: [3.9]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Build .app
|
|
|
|
run: |
|
|
|
|
build/build-macos.sh
|
2021-04-10 23:17:19 +00:00
|
|
|
zip -r build/output/BAPSicle.zip build/output/BAPSicle.app
|
2021-04-10 22:05:12 +00:00
|
|
|
- name: Archive Build
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: Package - MacOS
|
|
|
|
path: |
|
2021-04-10 23:01:21 +00:00
|
|
|
build/output/BAPSicle.zip
|
2021-04-10 22:05:12 +00:00
|
|
|
|
|
|
|
build-ubuntu:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 15
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-04-14 12:58:40 +00:00
|
|
|
python-version: [3.9]
|
2021-04-10 22:05:12 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Build executable
|
|
|
|
run: |
|
|
|
|
build/build-linux.sh
|
|
|
|
- name: Archive Build
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: Package - Ubuntu
|
|
|
|
path: |
|
|
|
|
build/output/BAPSicle
|
|
|
|
|
|
|
|
build-windows:
|
|
|
|
|
|
|
|
runs-on: windows-latest
|
|
|
|
timeout-minutes: 15
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
python-version: [3.9]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Build .exe
|
|
|
|
run: |
|
2021-04-14 12:58:40 +00:00
|
|
|
build/build-windows.bat no-venv
|
2021-04-10 22:05:12 +00:00
|
|
|
- name: Archive Build
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2021-04-10 22:05:38 +00:00
|
|
|
name: Package - Windows
|
2021-04-10 22:05:12 +00:00
|
|
|
path: |
|
|
|
|
build/output/BAPSicle.exe
|
2021-04-14 12:58:40 +00:00
|
|
|
install/
|