-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 1.18 KB
/
BuildForWindows.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
46
47
48
49
name: BuildForWindws
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install pip
run: python -m ensurepip --upgrade
- name: Install make
run: |
choco install make
- name: Refresh environment variables
run: |
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
- name: Make Release Dir
run: |
cd target
mkdir release
- name: Install required libraries
run: |
python -m pip install --upgrade pip
pip install -r target/Python/needlibs.txt
- name: Build project
run: |
cd target/build
make VERSION=release build