CI: gh-pages
This commit is contained in:
parent
b2dbbbbabb
commit
57ab40be0d
|
@ -15,6 +15,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
#########################################################################################
|
||||||
|
# Checkout
|
||||||
|
|
||||||
|
- name: Checkout source files
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
# Download and Install Dependencies
|
# Download and Install Dependencies
|
||||||
|
|
||||||
|
@ -37,14 +45,6 @@ jobs:
|
||||||
- name: Install cmake
|
- name: Install cmake
|
||||||
uses: lukka/get-cmake@v3.18.3
|
uses: lukka/get-cmake@v3.18.3
|
||||||
|
|
||||||
#########################################################################################
|
|
||||||
# Checkout
|
|
||||||
|
|
||||||
- name: Checkout source files
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
# CMake
|
# CMake
|
||||||
|
|
||||||
|
@ -67,3 +67,19 @@ jobs:
|
||||||
build_em/infinisim.html
|
build_em/infinisim.html
|
||||||
build_em/infinisim.js
|
build_em/infinisim.js
|
||||||
build_em/infinisim.wasm
|
build_em/infinisim.wasm
|
||||||
|
|
||||||
|
- name: Prepare Github Page
|
||||||
|
shell: bash
|
||||||
|
if: contains(matrix.config.name, 'emscripten')
|
||||||
|
run: |
|
||||||
|
mkdir emscripten
|
||||||
|
mv build_em/infinisim.html \
|
||||||
|
build_em/infinisim.js \
|
||||||
|
build_em/infinisim.wasm \
|
||||||
|
emscripten/.
|
||||||
|
|
||||||
|
- name: Deploy Github Page
|
||||||
|
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||||
|
with:
|
||||||
|
branch: gh-pages
|
||||||
|
folder: emscripten
|
||||||
|
|
Loading…
Reference in New Issue