[ci] Upgrade to GCC 13.2 #2912
Workflow file for this run
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: Run tests on Linux | |
on: [pull_request] | |
jobs: | |
# Niklas: Running on the old container until I can figure out why the doc generator hangs | |
build-docs-test: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 30 | |
container: | |
image: ghcr.io/modm-ext/modm-build-base:2024-12-01 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Fix Git permission/ownership problem | |
run: | | |
git config --global --add safe.directory /__w/modm/modm | |
- name: Update lbuild | |
run: | | |
pip3 install --upgrade --upgrade-strategy=eager --break-system-packages modm | |
- name: Install mkdocs mkdocs-material (pip) | |
run: | | |
pip3 install --upgrade --break-system-packages mkdocs mkdocs-material | |
mkdocs --version | |
pip3 show mkdocs-material | |
- name: Test run of docs.modm.io-generator-script | |
if: always() | |
run: | | |
export TERM=xterm-256color | |
export COLUMNS=120 | |
python3 tools/scripts/docs_modm_io_generator.py -t -c -j2 -d | |
- name: Upload Doxypress Documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-docs-test | |
path: modm-api-docs.tar.gz | |
- name: Build Homepage | |
if: always() | |
run: | | |
python3 tools/scripts/synchronize_docs.py | |
python3 tools/scripts/generate_module_docs.py | |
cat docs/mkdocs.yml | |
ls -l docs/src/reference | |
ls -l docs/src/reference/config | |
ls -l docs/src/reference/module | |
(cd docs && mkdocs build) | |
- name: Upload Homepage Documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-homepage-test | |
path: docs/modm.io | |
# FIXME: Allow localhost:port to work with Docker | |
# - name: Check Homepage | |
# run: | | |
# apt install -y nodejs npm | |
# npm install -g broken-link-checker-local | |
# blcl modm/docs/modm.io/docs -ro --host-requests 100 --filter-level 1 |