File tree Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : CI arm
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - ' .github/workflows/**'
8
+ - ' **.cpp'
9
+ - ' **.hpp'
10
+ - ' **.txt'
11
+ pull_request :
12
+ branches : [ "main" ]
13
+
14
+ env :
15
+ BUILD_TYPE : Release
16
+
17
+ jobs :
18
+ build_windows :
19
+ runs-on : windows-latest
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ include :
24
+ - {arch: ARM}
25
+ - {arch: ARM64}
26
+
27
+ steps :
28
+ - uses : actions/checkout@v3
29
+
30
+ - name : Download dependencies
31
+ run : python3 fetch_test_deps.py
32
+
33
+ - name : Configure CMake
34
+ run : cmake -A ${{ matrix.arch }} -DCMAKE_CROSSCOMPILING=1 -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
35
+
36
+ - name : Build
37
+ run : cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --verbose
Original file line number Diff line number Diff line change 38
38
run : cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
39
39
40
40
- name : Build (Windows)
41
- run : cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --target tests/tests
41
+ run : cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --target tests/tests --verbose
42
42
43
43
- name : Run tests
44
44
run : ${{ github.workspace }}\build\tests\Release\tests.exe -d yes --order lex [base64],[gltf-loader]
57
57
58
58
runs-on : ubuntu-latest
59
59
env :
60
- C : ${{ matrix.c_compiler }}
60
+ CC : ${{ matrix.c_compiler }}
61
61
CXX : ${{ matrix.cxx_compiler }}
62
62
steps :
63
63
- uses : actions/checkout@v3
80
80
run : sudo apt-get install -y libxrandr-dev libxinerama-dev libx11-dev libxcursor-dev libxi-dev
81
81
82
82
- name : Configure CMake
83
- run : cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
83
+ run : cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} --verbose
84
84
85
85
- name : Build
86
86
run : cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --target tests
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER_EQUAL "3.24"
4
4
cmake_policy (SET CMP0135 NEW )
5
5
endif ()
6
6
7
- project (fastgltf VERSION 0.1 .0 LANGUAGES C CXX )
7
+ project (fastgltf VERSION 0.2 .0 LANGUAGES C CXX )
8
8
9
9
option (FASTGLTF_DOWNLOAD_SIMDJSON "Downloads a copy of simdjson itself to satisfy the dependency" ON )
10
10
You can’t perform that action at this time.
0 commit comments