[bazel][ci-minor-increase] Make new CI workflow: faster and aligned with Bazel ideas#39
[bazel][ci-minor-increase] Make new CI workflow: faster and aligned with Bazel ideas#39
Conversation
|
You are out of Mentat credits. You can view and refresh your credits here. To disable this message on pr open, disable |
| needs: prepare | ||
| uses: ./.github/workflows/mainline-compile.yml | ||
|
|
||
| format: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
| needs: prepare | ||
| uses: ./.github/workflows/mainline-format.yml | ||
|
|
||
| lint: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - name: Debian | ||
| image: debian:stable | ||
| - name: Fedora | ||
| image: fedora:latest | ||
| - name: Arch Linux | ||
| image: archlinux:base-devel | ||
|
|
||
| container: | ||
| image: ${{ matrix.image }} | ||
|
|
||
| steps: | ||
| - name: Download tarball artifacts | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: ${{ inputs.artifact_name }} | ||
| path: artifacts | ||
|
|
||
| - name: Extract and run tarballs | ||
| run: | | ||
| for archive in artifacts/*.tar.gz; do | ||
| tar -xzf "$archive" -C / --no-same-owner --no-same-permissions | ||
| for test in /opt/hcpu/tests/*; do ./$test; done | ||
| done |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
| needs: prepare | ||
| uses: ./.github/workflows/mainline-lint.yml | ||
|
|
||
| tests: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
| needs: package | ||
| uses: ./.github/workflows/mainline-test.yml No newline at end of file |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
6febbc4 to
8d0365c
Compare
This started out as support for distros musl-libc compiled binaries, but turned out to be a full workflow refactor.
Key changes:
There is still work to document new dev workflows, I'll work on that a couple of weeks later.