ragephoto_c: fix header inclusion

- CI: hardcore Emscripten version
This commit is contained in:
Syping 2024-03-26 10:21:32 +01:00
parent 18325f7c05
commit 1e160ee170
3 changed files with 8 additions and 4 deletions

View file

@ -12,7 +12,9 @@ jobs:
with:
submodules: recursive
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v11
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.47
- name: Install packages
run: |
sudo apt-get update -qq

View file

@ -12,13 +12,15 @@ jobs:
with:
submodules: recursive
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v11
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.47
- name: Install packages
run: |
sudo apt-get update -qq
sudo apt-get install cmake ninja-build -qq
- 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
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload

View file

@ -1 +1 @@
#include "RagePhotoA.hpp"
#include "ragephoto_c.hpp"