Only create a queue task if a judging exists #1450
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: Chroot checks | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| - '[0-9]+.[0-9]+' | |
| jobs: | |
| check-chroot-arch: | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: domjudge/gitlabci:24.04 | |
| options: --privileged --cgroupns=host --init | |
| strategy: | |
| matrix: | |
| arch: [amd64, default] | |
| steps: | |
| - name: Checkout current code | |
| uses: actions/checkout@v4 | |
| - name: Install DOMjudge | |
| run: | | |
| .github/jobs/chroot_checks.sh ${{ matrix.arch }} | |
| - name: Upload all logs/artifacts | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.arch }}-logs | |
| path: | | |
| /tmp/artifacts |