Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
on:
workflow_call:
jobs:
stylecheck:
name: Stylecheck
runs-on: ubuntu-24.04
container: librepcb/librepcb-dev:devtools-7
steps:
- uses: actions/checkout@v6
with:
clean: true
submodules: recursive
# https://github.com/actions/checkout/issues/1048
- name: Fix Git Permissions
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Print Environment
run: ./ci/print_environment.sh
- name: Run Stylecheck
run: ./ci/stylecheck.sh
if: ${{ !cancelled() }}
- name: Build Translations
run: python3 ./dev/i18n.py --update --translate
if: ${{ !cancelled() }}
- name: Check EditorCommandSet
run: python3 ./dev/generate_editorcommandset.py --check
if: ${{ !cancelled() }}
- name: Find Unused Code
run: python3 ./dev/find_unused_code.py
if: ${{ !cancelled() }}
doxygen:
name: Doxygen
runs-on: ubuntu-24.04
container: librepcb/librepcb-dev:devtools-7
steps:
- uses: actions/checkout@v6
# https://github.com/actions/checkout/issues/1048
- name: Fix Git Permissions
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Build Documentation
run: ./ci/build_doxygen.sh
- name: Tar & Upload Artifacts
if: ${{ success() && (github.event_name == 'push') && env.UPLOAD_URL }}
run: |
./ci/tar_artifacts.sh
./ci/upload_artifacts.sh
env:
CI_BRANCH_NAME: ${{ github.ref }}
UPLOAD_URL: ${{ secrets.UPLOAD_URL }}
UPLOAD_USER: ${{ secrets.UPLOAD_USER }}
UPLOAD_PASS: ${{ secrets.UPLOAD_PASS }}
UPLOAD_SIGN_KEY: ${{ secrets.UPLOAD_SIGN_KEY }}
94ec4b8feThis file is pinned to the selected release. Download the original to open it in your design tool.