mirror of
https://github.com/wasmerio/wasmer.git
synced 2025-09-07 01:14:53 +00:00

See https://github.com/wasmerio/wasmer/issues/2822 For some reason these libraries get linked into the final release binary, which should not be the default (since these dependencies are only needed for the experimental-io extension).
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- 'lib/**'
|
|
|
|
jobs:
|
|
documentation:
|
|
name: Documentation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
override: true
|
|
- name: Install LLVM
|
|
shell: bash
|
|
run: |
|
|
curl --proto '=https' --tlsv1.2 -sSf ${{ env.LLVM_URL }} -L -o llvm.tar.xz
|
|
mkdir ${{ env.LLVM_DIR }}
|
|
tar xf llvm.tar.xz --strip-components=1 -C ${{ env.LLVM_DIR }}
|
|
echo "${{ env.LLVM_DIR }}/bin" >> $GITHUB_PATH
|
|
echo "LLVM_SYS_120_PREFIX=${{ env.LLVM_DIR }}" >> $GITHUB_ENV
|
|
env:
|
|
LLVM_DIR: ${{ github.workspace }}/llvm-13
|
|
LLVM_URL: 'https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz'
|
|
- name: Build & package documentation
|
|
run: make package-docs
|
|
- name: Publish documentation
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./package/docs
|