add RGFW_STD_INT #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build WebAssembly | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Emscripten | |
uses: mymindstorm/setup-emsdk@v14 | |
- name: Build doxygen docs | |
uses: mattnotmitt/[email protected] | |
with: | |
working-directory: './' | |
doxyfile-path: './Doxyfile' | |
- name: Compile to WebAssembly | |
run: | | |
make debug CC=emcc | |
mv html docs | |
- name: get nuklear webasm | |
run: | | |
cd webasm | |
wget https://github.com/ColleagueRiley/nuklear_rgfw/raw/main/rgfw_opengl2/rgfw-nuklear.wasm | |
wget https://raw.githubusercontent.com/ColleagueRiley/nuklear_rgfw/main/rgfw_opengl2/rgfw-nuklear.js | |
- name: Deploy Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./ |