-
Notifications
You must be signed in to change notification settings - Fork 12
104 lines (104 loc) · 2.95 KB
/
glvm.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
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
name: GLVM
on:
workflow_dispatch:
# push:
# branches:
# - glvm-ci
# paths:
# - .github/workflows/glvm.yml
jobs:
windows-x64:
name: Windows (x64)
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: .\build.cmd
working-directory: .\src\GLVM
- name: Upload Windows native libs
uses: actions/upload-artifact@v4
with:
name: windows-x64
path: lib/Native/Aardvark.Rendering.GL/windows/AMD64/
linux-x64:
name: Linux (x64)
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install OpenGL
run: sudo apt install libgl-dev
- name: Build
run: ./build.sh
working-directory: ./src/GLVM
- name: Upload Linux native libs
uses: actions/upload-artifact@v4
with:
name: linux-x64
path: lib/Native/Aardvark.Rendering.GL/linux/AMD64/
macos-x64:
name: MacOS (x64)
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: ./build.sh
working-directory: ./src/GLVM
- name: Upload MacOS native libs
uses: actions/upload-artifact@v4
with:
name: mac-x64
path: lib/Native/Aardvark.Rendering.GL/mac/AMD64/
macos-arm64:
name: MacOS (ARM64)
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: ./build.sh
working-directory: ./src/GLVM
- name: Upload MacOS native libs
uses: actions/upload-artifact@v4
with:
name: mac-arm64
path: lib/Native/Aardvark.Rendering.GL/mac/ARM64/
build:
name: Build
runs-on: windows-latest
needs:
- windows-x64
- linux-x64
- macos-x64
- macos-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download MacOS dependencies (x64)
uses: actions/download-artifact@v4
with:
name: mac-x64
path: lib/Native/Aardvark.Rendering.GL/mac/AMD64/
- name: Download MacOS dependencies (arm64)
uses: actions/download-artifact@v4
with:
name: mac-arm64
path: lib/Native/Aardvark.Rendering.GL/mac/ARM64/
- name: Download Linux dependencies
uses: actions/download-artifact@v4
with:
name: linux-x64
path: lib/Native/Aardvark.Rendering.GL/linux/AMD64/
- name: Download Windows dependencies
uses: actions/download-artifact@v4
with:
name: windows-x64
path: lib/Native/Aardvark.Rendering.GL/windows/AMD64/
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "[GLVM] Update native libraries"
branch: glvm-ci-build
title: "[GLVM] Update native libraries"