BAPSicle/.github/workflows/build.yaml

84 lines
1.9 KiB
YAML
Raw Normal View History

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: |
2021-04-16 19:30:50 +00:00
npm run presenter-make
2021-04-10 22:05:12 +00:00
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: |
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:
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: |
2021-04-16 19:30:50 +00:00
npm run presenter-make
2021-04-10 22:05:12 +00:00
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-16 19:30:50 +00:00
npm run presenter-make
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
install/