Skip to content

Commit

Permalink
build the WebARKitLib with Emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Oct 23, 2023
1 parent 0f57d04 commit 656823e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ jobs:
node-version: '16.x'
- name: Build and test WebARKitLib
run: |
cd tests && mkdir build && cd build && cmake .. && make && ./webarkit_test
cd tests && mkdir build && cd build && cmake .. && make && ./webarkit_test
- name: Build WebARKitLib with Emscripten (Docker)
run: docker run -dit --name emscripten-webarkit-testing -v $(pwd):/src emscripten/emsdk:3.1.26 bash
run: docker exec emscripten-webarkit-testing emcmake cmake -B emscripten/WebARKitLib/WebARKit/build -Semscripten/WebARKitLib/WebARKit -DEMSCRIPTEN_COMP=1 ..
run: docker exec emscripten-webarkit-testing emmake make -C emscripten/WebARKitLib/WebARKit/build

2 changes: 1 addition & 1 deletion WebARKit/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.16)

project(WebARKitLib)

Expand Down

0 comments on commit 656823e

Please sign in to comment.