build(cross-build): s390x PGO profiler initialization #559
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: Test documentation (Ferron 3.x) | |
| on: | |
| push: | |
| branches: ["develop-3.x"] | |
| paths: | |
| - "Cargo.lock" | |
| - "Cargo.toml" | |
| - "bin/**" | |
| - "core/**" | |
| - "entrypoint/**" | |
| - "modules/**" | |
| - "types/**" | |
| - "docs/**/*.md" | |
| - "docstest/**" | |
| - ".github/workflows/docstest.yml" | |
| pull_request: | |
| branches: ["develop-3.x"] | |
| paths: | |
| - "Cargo.lock" | |
| - "Cargo.toml" | |
| - "bin/**" | |
| - "core/**" | |
| - "entrypoint/**" | |
| - "modules/**" | |
| - "types/**" | |
| - "docs/**/*.md" | |
| - "docstest/**" | |
| - ".github/workflows/docstest.yml" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: develop-3.x | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Setup cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Build Ferron | |
| shell: bash | |
| run: | | |
| cargo build # Debug build, because it would compile faster | |
| - name: Test the documentation | |
| shell: bash | |
| run: | | |
| cargo run --manifest-path doctest/Cargo.toml |