-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (64 loc) · 2.08 KB
/
setup-angle.yml
File metadata and controls
69 lines (64 loc) · 2.08 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
name: Setup ANGLE
on:
push:
branches:
- master
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- id: angle
uses: ./
- run: |
test -f "${{ steps.angle.outputs.angle-location }}/include/EGL/egl.h"
test -f "${{ steps.angle.outputs.angle-location }}/include/GLES2/gl2.h"
test -f "${{ steps.angle.outputs.angle-location }}/include/GLES3/gl3.h"
test -f "${{ steps.angle.outputs.angle-location }}/lib/libEGL.dylib"
test -f "${{ steps.angle.outputs.angle-location }}/lib/libGLESv2.dylib"
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- id: angle
uses: ./
- shell: pwsh
run: |
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\include\EGL\egl.h")) {
throw "Missing file"
}
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\include\GLES2\gl2.h")) {
throw "Missing file"
}
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\include\GLES3\gl3.h")) {
throw "Missing file"
}
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\lib\libEGL.lib")) {
throw "Missing file"
}
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\lib\libGLESv2.lib")) {
throw "Missing file"
}
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\bin\libEGL.dll ")) {
throw "Missing file"
}
if (-Not (Test-Path "${{ steps.angle.outputs.angle-location }}\bin\libGLESv2.dll")) {
throw "Missing file"
}
specific-branch:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
angle-branch: fdff117
# Check if specifying an unavailable branch is correctly causing the action
# to stop early and display the error message.
unavailable-branch:
runs-on: macos-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: ./
with:
angle-branch: abc