Skip to content

Add github action CI #1

Add github action CI

Add github action CI #1

Workflow file for this run

name: App Builder
on:
push:
tags:
- "v*"
branches: master
workflow_dispatch:
env:
ARTIFACT_BASE_NAME: 'music_caster_artifacts' # + '_${runsOn}'
TAG_PUSH: ${{ startsWith(github.ref, 'refs/tags/v') }}
jobs:
build:
strategy:
matrix:
platform: [windows-latest]
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v4
- name: Venv
run: |
python -m venv .venv
.venv\Scripts\Activate.ps1
- name: Install Dependencies
run: python build.py --deps
- name: Build
run: python build.py --no-deps --no-tests --no-install
- name: Test build
run: python build.py --no-deps --no-build --no-install
- name: Upload build
if: github.env.TAG_PUSH
run: python build.py -u --ci --no-deps --no-build --no-tests --no-install
# TODO: if/when MacOS is supported?
# release:
# needs: build
# runs-on: ubuntu-latest