1
+ name : BabylonNative master branch update
2
+
3
+ on :
4
+ repository_dispatch :
5
+ types : [babylonnative-master-update]
6
+
7
+ jobs :
8
+ build-android :
9
+ runs-on : macos-latest
10
+ steps :
11
+ - name : Checkout Repo
12
+
13
+ with :
14
+ submodules : ' recursive'
15
+ - name : Setup CMake
16
+
17
+ with :
18
+ cmake-version : ' 3.19.6' # See https://gitlab.kitware.com/cmake/cmake/-/issues/22021
19
+ - name : Setup Ninja
20
+ run : brew install ninja
21
+ - name : NPM Install (Playground)
22
+ run : npm install
23
+ working-directory : ./Apps/Playground
24
+ - name : NPM Install (Binary Package)
25
+ run : npm install
26
+ working-directory : ./Package
27
+ - name : Git (Update to BabylonNative master)
28
+ run : npx gulp initializeSubmodulesMostRecentBabylonNative
29
+ working-directory : ./Package
30
+ - name : Gulp (Android)
31
+ run : npx gulp buildAndroid
32
+ working-directory : ./Package
33
+
34
+ build-iOS :
35
+ runs-on : macos-latest
36
+ steps :
37
+ - name : Checkout Repo
38
+
39
+ with :
40
+ submodules : ' recursive'
41
+ - name : NPM Install (Playground)
42
+ run : npm install
43
+ working-directory : ./Apps/Playground
44
+ - name : NPM Install (Binary Package)
45
+ run : npm install
46
+ working-directory : ./Package
47
+ - name : Git (Update to BabylonNative master)
48
+ run : npx gulp initializeSubmodulesMostRecentBabylonNative
49
+ working-directory : ./Package
50
+ - name : Gulp (iOS)
51
+ run : npx gulp buildIOS
52
+ working-directory : ./Package
53
+
54
+ build-windows :
55
+ runs-on : windows-latest
56
+ strategy :
57
+ matrix :
58
+ platform : [x86, x64, ARM, ARM64]
59
+ config : [Debug, Release]
60
+ steps :
61
+ - name : Checkout Repo
62
+
63
+ with :
64
+ submodules : ' true'
65
+ - name : Setup MSBuild
66
+
67
+ - name : Setup NuGet
68
+ uses : nuget/setup-nuget@v1
69
+ with :
70
+ nuget-version : ' 5.x'
71
+ - name : NPM Install (Playground)
72
+ run : npm install
73
+ working-directory : ./Apps/Playground
74
+ - name : NPM Install (Binary Package)
75
+ run : npm install
76
+ working-directory : ./Package
77
+ - name : Git (Update to BabylonNative master)
78
+ run : npx gulp initializeSubmodulesMostRecentBabylonNativeWindowsAgent
79
+ working-directory : ./Package
80
+ - name : Gulp Setup Project ${{ matrix.platform }} (Windows)
81
+ run : npx gulp makeUWPProject${{ matrix.platform }}
82
+ working-directory : ./Package
83
+ - name : Gulp Build ${{ matrix.platform }} ${{ matrix.config }} (Windows)
84
+ run : npx gulp buildUWP${{ matrix.platform }}${{ matrix.config }}
85
+ working-directory : ./Package
86
+ - name : Gulp NuGet Restore Playground
87
+ run : npx gulp nugetRestoreUWPPlayground
88
+ working-directory : ./Package
89
+ - name : Gulp Build ${{ matrix.platform }} ${{ matrix.config }} Playground (Windows)
90
+ run : npx gulp buildUWPPlayground${{ matrix.platform }}${{ matrix.config }}
91
+ working-directory : ./Package
0 commit comments