Skip to content

fix(stdlib): Fix failures on musl and android #321

fix(stdlib): Fix failures on musl and android

fix(stdlib): Fix failures on musl and android #321

Workflow file for this run

name: Documentation
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
docs:
name: Publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install Tree-sitter (with runtime)
run: |
npm install -g tree-sitter-cli
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.23.0.tar.gz | tar -xz
cd tree-sitter-*
make -j8
sudo make install
sudo ldconfig
- name: Build documentation
env:
ALUMINA_DOC_BASE_PATH: https://docs.alumina-lang.net
run: make -j8 docs
- name: Generate the sitemap
id: sitemap
uses: cicirello/generate-sitemap@v1
with:
base-url-path: https://docs.alumina-lang.net
path-to-root: ./build/debug/html
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/debug/html
cname: docs.alumina-lang.net