Skip to content

Allow diagnostics when free() is misused. #113

Allow diagnostics when free() is misused.

Allow diagnostics when free() is misused. #113

Workflow file for this run

name: Build book
on:
push:
branches-ignore:
- gh-pages
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install cargo
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Install mdbook
run: curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.45/mdbook-v0.4.45-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
- name: Checkout source
uses: actions/checkout@v4
- name: Build book
run: mdbook build
- name: Upload book artifact
uses: actions/upload-artifact@v4
with:
name: book
path: book
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
steps:
- name: Download book artifact
uses: actions/download-artifact@v4
with:
name: book
path: public
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}