Merge pull request #2 from AlexanderARodin/dev #54
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: Compile check | |
run : make check | |
- name: Tests | |
run : echo 'leads to panic' #make test | |
- name: try to Build Native | |
run : echo 'leads to panic' #make release | |
- name: Build | |
run : | | |
make configure | |
make bindgen.wasm | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist | |
single-commit: true | |
# EOF |