File tree Expand file tree Collapse file tree 4 files changed +33
-13
lines changed Expand file tree Collapse file tree 4 files changed +33
-13
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,14 @@ name: Native Build
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
7
-
6
+ build_win :
8
7
runs-on : [windows-2022]
9
-
10
8
strategy :
11
9
matrix :
12
10
toolset : [v142, v143]
13
11
configuration : [RelWithDebInfo]
14
-
15
12
steps :
16
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
17
14
with :
18
15
submodules : true
19
16
- name : Configure
25
22
with :
26
23
name : OcctImportJS_Win_${{matrix.toolset}}_${{matrix.configuration}}.lib
27
24
path : build/${{matrix.toolset}}/${{matrix.configuration}}/occt-import-js.lib
25
+
26
+ build_mac :
27
+ runs-on : [macos-13]
28
+ strategy :
29
+ matrix :
30
+ xcode : [14.2]
31
+ configuration : [RelWithDebInfo]
32
+ steps :
33
+ - uses : actions/checkout@v4
34
+ with :
35
+ submodules : true
36
+ - name : Setup xcode
37
+ if : runner.os == 'macOS'
38
+ run : sudo xcode-select -s /Applications/Xcode_${{matrix.xcode}}.app
39
+ - name : Configure
40
+ run : cmake -B build/${{matrix.xcode}} -G "Xcode" -DCMAKE_OSX_ARCHITECTURES="x86_64"
41
+ - name : Build
42
+ run : cmake --build build/${{matrix.xcode}} --config ${{matrix.configuration}}
43
+ - name : Upload
44
+ uses : actions/upload-artifact@v3
45
+ with :
46
+ name : OcctImportJS_Mac_${{matrix.xcode}}_${{matrix.configuration}}.a
47
+ path : build/${{matrix.xcode}}/${{matrix.configuration}}/occt-import-js.a
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : windows-2022
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-node@v2
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
with :
15
- node-version : ' 16.x'
16
- registry-url : ' https://registry.npmjs.org'
15
+ node-version : ' 18.x'
17
16
- run : npm install
18
17
- run : npm publish
19
18
env :
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
12
12
os-type : [windows-2022]
13
13
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
with :
17
17
submodules : true
18
- - name : Setup node.js 17.x
19
- uses : actions/setup-node@v2
18
+ - name : Setup node.js
19
+ uses : actions/setup-node@v4
20
20
with :
21
- node-version : 17 .x
21
+ node-version : 18 .x
22
22
- name : Get Emscripten
23
23
run : ./tools/setup_emscripten_win.bat
24
24
- name : Build WASM
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ set (CMAKE_CONFIGURATION_TYPES Debug;Release;RelWithDebInfo;MinSizeRel)
6
6
add_definitions (-DUNICODE -D_UNICODE )
7
7
8
8
project (OcctImportJS )
9
+ set (CMAKE_CXX_STANDARD 11 )
9
10
10
11
# OcctImportJS
11
12
You can’t perform that action at this time.
0 commit comments