GitHub Actions: use C library for WebAssembly build
RagePhoto.c: fix header includes
This commit is contained in:
parent
3046cbd077
commit
8a29d8aebe
3 changed files with 5 additions and 4 deletions
.github/workflows
2
.github/workflows/webassembly.yml
vendored
2
.github/workflows/webassembly.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
sudo apt-get update -qq
|
||||
sudo apt-get install cmake ninja-build -qq
|
||||
- name: Configure CMake
|
||||
run: emcmake cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja
|
||||
run: emcmake cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DRAGEPHOTO_C_LIBRARY=ON -DRAGEPHOTO_UNICODE=iconv -GNinja
|
||||
- name: Build
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
- name: Upload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue