BAPSicle/.github/workflows/build.yaml

83 lines
1.8 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: |
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:
2021-04-10 23:26:19 +00:00
python-version: [3.7]
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: |
build/build-windows.bat
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/
2021-04-10 22:05:12 +00:00