build(deps): bump JuliaRegistries/TagBot from 1.25.7 to 1.25.8 (#88) #80
This file contains hidden or 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: Deploy documentation | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["*"] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| statuses: write | |
| jobs: | |
| deploy_docs: | |
| runs-on: ubuntu-latest | |
| env: | |
| CC: gcc | |
| CXX: g++ | |
| CXXFLAGS: -fdiagnostics-color -O2 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get --yes update | |
| sudo apt-get install --yes \ | |
| git \ | |
| pkg-config \ | |
| m4 \ | |
| libtool \ | |
| automake \ | |
| autoconf \ | |
| libtool-bin | |
| - name: Clone libsemigroups | |
| run: | | |
| git clone https://github.com/libsemigroups/libsemigroups.git --depth 1 --branch main | |
| cd libsemigroups | |
| git submodule update --init --recursive | |
| - name: Build and install libsemigroups | |
| run: | | |
| cd libsemigroups | |
| mkdir -p m4 | |
| ./autogen.sh | |
| ./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" --disable-hpcombi | |
| make -j$(nproc) | |
| sudo make install | |
| sudo ldconfig | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: "1.10" | |
| - uses: julia-actions/cache@v3 | |
| - name: Build package | |
| run: | | |
| julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.build()' | |
| - name: Build and deploy documentation | |
| run: | | |
| julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | |
| julia --project=docs docs/make.jl | |
| env: | |
| DOCS_DEPLOY: "true" | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |