Skip to content

Commit

Permalink
Github action test
Browse files Browse the repository at this point in the history
  • Loading branch information
mutagene committed Nov 24, 2023
1 parent 0d1ad26 commit 69b168c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,13 @@ jobs:
uses: mymindstorm/setup-emsdk@v11
with:
version: 3.1.44
- name: Use local djinni djinni
if: ${{ github.ref != 'refs/heads/master' }}
run: export CMAKE_DJINNI_OPT="-DDJINNI_EXECUTABLE=$(pwd)/bin/djinni"
- name: Report cmake version
run: cmake --version
- name: Configure cmake
run: cmake -S . -B build -DDJINNI_WITH_WASM=ON
run: cmake -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -S . -B build -DDJINNI_WITH_WASM=ON -DDJINNI_EXECUTABLE=$(pwd)/bin
- name: Build release
run: cmake --build build --parallel $(nproc) --config Release

Expand Down
Binary file added bin/djinni
Binary file not shown.

0 comments on commit 69b168c

Please sign in to comment.