Skip to content

build the WebARKitLib with Emscripten #23

build the WebARKitLib with Emscripten

build the WebARKitLib with Emscripten #23

Workflow file for this run

name: WebARKitLib test
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Build and test WebARKitLib
run: |
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 ..

Check failure on line 18 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / WebARKitLib test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 18, Col: 11): 'run' is already defined .github/workflows/test.yml (Line: 19, Col: 11): 'run' is already defined
run: docker exec emscripten-webarkit-testing emmake make -C emscripten/WebARKitLib/WebARKit/build