ragephoto_c: fix header inclusion
- CI: hardcore Emscripten version
This commit is contained in:
parent
18325f7c05
commit
1e160ee170
3 changed files with 8 additions and 4 deletions
4
.github/workflows/webassembly-c.yml
vendored
4
.github/workflows/webassembly-c.yml
vendored
|
@ -12,7 +12,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup emsdk
|
- name: Setup emsdk
|
||||||
uses: mymindstorm/setup-emsdk@v11
|
uses: mymindstorm/setup-emsdk@v14
|
||||||
|
with:
|
||||||
|
version: 3.1.47
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
|
|
6
.github/workflows/webassembly-cxx.yml
vendored
6
.github/workflows/webassembly-cxx.yml
vendored
|
@ -12,13 +12,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup emsdk
|
- name: Setup emsdk
|
||||||
uses: mymindstorm/setup-emsdk@v11
|
uses: mymindstorm/setup-emsdk@v14
|
||||||
|
with:
|
||||||
|
version: 3.1.47
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install cmake ninja-build -qq
|
sudo apt-get install cmake ninja-build -qq
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: emcmake cmake -B ${{github.workspace}}/build -DCMAKE_CXX_STANDARD=11 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja
|
run: emcmake cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DRAGEPHOTO_CXX_STANDARD=11 -GNinja
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
- name: Upload
|
- name: Upload
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#include "RagePhotoA.hpp"
|
#include "ragephoto_c.hpp"
|
||||||
|
|
Loading…
Reference in a new issue