feat: expand Linux support to RHEL/Rocky 8, 9, 10 (baseline 9) #88
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # ── Job 1: Static validation ───────────────────────────────────────────── | |
| validate: | |
| name: Validate manifests & scripts | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - run: git submodule update --init --depth 1 tools prebuilt | |
| - name: Lint | |
| run: bash ci/lint.sh | |
| - name: Validate | |
| run: bash ci/test.sh | |
| # ── Job 2: Server binary health check ──────────────────────────────────── | |
| server-health: | |
| name: Server health (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| needs: validate | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| binary: prebuilt/bin/devkit-server-linux-amd64 | |
| - os: windows-latest | |
| binary: prebuilt/bin/devkit-server-windows-amd64.exe | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - run: git submodule update --init --depth 1 tools prebuilt | |
| - name: Smoke test | |
| shell: bash | |
| env: | |
| DEVKIT_BINARY: ${{ matrix.binary }} | |
| run: bash ci/smoke.sh |