add intelhex format argument addr_unit
#28
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 GitHub Pages | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
profile: minimal | |
override: true | |
- run: git branch -D ghpages | |
continue-on-error: true | |
- run: git checkout -b ghpages | |
- run: rm .gitignore | |
- run: mv .gitignore.ghpages .gitignore | |
- run: cargo build --lib --target wasm32-unknown-unknown --release | |
- run: mv ./target/wasm32-unknown-unknown/release/customasm.wasm ./web/customasm.wasm | |
- run: git config user.name github-actions | |
- run: git config user.email github-actions@github.com | |
- run: git add -A | |
- run: git commit -m "build GitHub Pages" | |
- run: git push -f origin ghpages |