Merge pull request #12 from AlexanderARodin/dev #64
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: to-pages | |
on: | |
push: | |
branches: | |
- main | |
- release | |
permissions: | |
contents: write | |
jobs: | |
make-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone | |
uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 # get rust toolchain for wasm | |
with: | |
profile: minimal | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Rust Cache # cache the rust build artefacts | |
uses: Swatinem/rust-cache@v1 | |
- name: Tests | |
run : echo 'leads to panic' #make test | |
- name: try to Build Native | |
run : echo 'leads to panic' #make release | |
- name: Configure | |
run : make configure | |
- name: Build bindgen WASM | |
run : make bindgen.wasm | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist | |
single-commit: true | |
# EOF |