libragephoto: C++ headers have now .hpp extension
RagePhoto.h -> RagePhoto.hpp RagePhotoA.h -> RagePhotoA.hpp RagePhotoC.h -> RagePhoto.h unicode.cmake: exclude codecvt for C builds GitHub Actions: separate C and CXX builds
This commit is contained in:
parent
6acf7b7338
commit
b838c505a4
21 changed files with 601 additions and 510 deletions
.github/workflows
30
.github/workflows/webassembly-c.yml
vendored
Normal file
30
.github/workflows/webassembly-c.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: WebAssembly C
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
Release:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Setup emsdk
|
||||
uses: mymindstorm/setup-emsdk@v11
|
||||
- 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_BUILD_TYPE=${{env.BUILD_TYPE}} -RAGEPHOTO_C_LIBRARY=ON -GNinja
|
||||
- name: Build
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: WebAssembly
|
||||
path: |
|
||||
${{github.workspace}}/build/libragephoto.js
|
||||
${{github.workspace}}/build/libragephoto.wasm
|
Loading…
Add table
Add a link
Reference in a new issue