remove deprecated architectures #40
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: Doxygen - GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
env: | |
BUILD_TYPE: Release | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
doxygen: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Requirements | |
run: | | |
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-program-options-dev doxygen graphviz | |
- name: LLVM | |
working-directory: ${{runner.workspace}} | |
shell: bash | |
run: | | |
LLVM_NAME="clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04" | |
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/$LLVM_NAME.tar.xz | |
tar xf $LLVM_NAME.tar.xz | |
mv $LLVM_NAME llvm-lib | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{runner.workspace}}/build | |
- name: Configure CMake | |
shell: bash | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
export LLVM_DIR=${{runner.workspace}}/llvm-lib | |
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=../install -DETISS_BUILD_MANUAL_DOC=ON | |
- name: Generate docs | |
working-directory: ${{runner.workspace}}/build | |
shell: bash | |
run: cmake --build . --config $BUILD_TYPE --target doc | |
- name: Setup Pages | |
uses: actions/configure-pages@v1 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ${{runner.workspace}}/build/doc/html | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |