-
Notifications
You must be signed in to change notification settings - Fork 1
118 lines (115 loc) · 3.23 KB
/
artifact.yml
File metadata and controls
118 lines (115 loc) · 3.23 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: Tests
on:
push:
branches:
- master
jobs:
ubuntu-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '25'
- name: Setup Python 3.14
uses: actions/setup-python@v2
with:
python-version: 3.14
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Sync Python dependencies
run: uv sync --dev
- name: Setup OpenGL and Run Tests
uses: edayot/model_resolver@master
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_HASH: ${{ github.sha }}
with:
commands: |
uv run beet
- name: Upload dist folder
run: tar -czvf dist-ubuntu.tar.gz dist/
- name: Upload compressed dist folder
uses: actions/upload-artifact@v4
with:
name: dist-ubuntu
path: dist-ubuntu.tar.gz
windows-tests:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '25'
- name: Setup Python 3.14
uses: actions/setup-python@v2
with:
python-version: 3.14
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Sync Python dependencies
run: uv sync --dev
- uses: ssciwr/setup-mesa-dist-win@v2
- name: Setup OpenGL and Run Tests
uses: edayot/model_resolver@master
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_HASH: ${{ github.sha }}
with:
commands: |
uv run beet
- name: Upload dist folder
run: Compress-Archive -Path dist\* -DestinationPath dist-windows.zip
- name: Upload compressed dist folder
uses: actions/upload-artifact@v4
with:
name: dist-windows
path: dist-windows.zip
# macos-tests:
# runs-on: macos-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - uses: actions/setup-java@v2
# with:
# distribution: 'temurin'
# java-version: '25'
# - name: Setup Python 3.14
# uses: actions/setup-python@v2
# with:
# python-version: 3.14
# - name: Install uv
# uses: astral-sh/setup-uv@v7
# with:
# enable-cache: true
# - name: Sync Python dependencies
# run: uv sync --dev
# - name: Setup OpenGL and Run Tests
# uses: edayot/model_resolver@master
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GIT_HASH: ${{ github.sha }}
# with:
# commands: |
# uv run beet
# - name: Upload dist folder
# run: tar -czvf dist-macos.tar.gz dist/
# - name: Upload compressed dist folder
# uses: actions/upload-artifact@v4
# with:
# name: dist-macos
# path: dist-macos.tar.gz