Skip to content

Commit 218ba9c

Browse files
committed
Github action test
1 parent 0d1ad26 commit 218ba9c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,13 @@ jobs:
136136
uses: mymindstorm/setup-emsdk@v11
137137
with:
138138
version: 3.1.44
139+
- name: Use local djinni djinni
140+
if: ${{ github.ref != 'refs/heads/master' }}
141+
run: export CMAKE_DJINNI_OPT="-DDJINNI_EXECUTABLE=$(pwd)/bin/djinni"
139142
- name: Report cmake version
140143
run: cmake --version
141144
- name: Configure cmake
142-
run: cmake -S . -B build -DDJINNI_WITH_WASM=ON
145+
run: cmake -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -S . -B build -DDJINNI_WITH_WASM=ON -DDJINNI_EXECUTABLE=$(pwd)/bin/djinni
143146
- name: Build release
144147
run: cmake --build build --parallel $(nproc) --config Release
145148

bin/djinni

11.9 MB
Binary file not shown.

0 commit comments

Comments
 (0)