-
Notifications
You must be signed in to change notification settings - Fork 2
64 lines (51 loc) · 1.47 KB
/
Build.yml
File metadata and controls
64 lines (51 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Build
on:
push:
branches: [master, dev]
pull_request:
branches: [master, dev]
workflow_dispatch:
jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.1.6
- name: Install Cmake
uses: jwlawson/actions-setup-cmake@v1.9
with:
cmake-version: '3.17.x'
- name: Install Make
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install build-essential
- name: Install Make with Choco
if: ${{ matrix.os == 'windows-latest' }}
uses: crazy-max/ghaction-chocolatey@v1.5.0
with:
args: install make
- name: Install python dependencies (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: poetry install -E pyinstaller
- name: Install python dependencies (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: poetry install --extras "Windows pyinstaller"
- name: Make RhythmPy
run: make RhythmPyDev
- name: Make Updater
run: make Updater
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: RhythmPy-Expremental
path: dist/