-
-
Notifications
You must be signed in to change notification settings - Fork 15
45 lines (41 loc) · 1008 Bytes
/
nuitka.yml
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
name: GitHub CI
on:
push:
paths:
- 'build.py'
- 'Pipfile'
- '.github/workflows/nuitka.yml'
- 'pyro/**'
- 'tools/**'
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Visual Studio environment
if: success()
uses: seanmiddleditch/gha-setup-vsdevenv@master
- name: Set up Python 3.12.4 (x64)
if: success()
uses: actions/setup-python@v5
with:
python-version: 3.12.4
architecture: x64
cache: pip
- name: Create virtual environment
if: success()
run: python -m venv env
- name: Install requirements
if: success()
run: pip install -r requirements.txt
- name: Run build script
if: success()
run: python D:\a\pyro\pyro\build.py --no-zip
- name: Upload artifact
if: success()
uses: actions/upload-artifact@v4
with:
name: pyro-master-${{ github.event.repository.pushed_at }}
path: D:\a\pyro\pyro\pyro.dist