-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (38 loc) · 1.05 KB
/
main.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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
KIVY_GL_BACKEND: 'angle_sdl2'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v1
with:
python-version: '3.10'
#- name: Install Mesa
# shell: cmd
# run: |
# curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/20.3.2/mesa3d-20.3.2-release-msvc.7z
# "C:\Program Files\7-Zip\7z.exe" x mesa.7z
# mklink opengl32.dll "x64\opengl32.dll"
# mklink libglapi.dll "x64\libglapi.dll"
- name: build
run: |
set WITH_NAME=ObjectViz
make -f packaging/Makefile all
- name: Upload installer
uses: actions/upload-artifact@v2
with:
name: installer
path: dist/ObjectViz-setup.exe
- name: Upload dist
uses: actions/upload-artifact@v2
with:
name: dist
path: dist/ObjectViz