WIP ci: build plugins #23
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: Build | |
| on: | |
| pull_request: | |
| branches: [main] | |
| permissions: {} | |
| jobs: | |
| parse: | |
| name: Parse config for plugins | |
| uses: ./.github/workflows/parse-plugins.yml | |
| debug: | |
| needs: parse | |
| name: Print debug information | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Print output from previous job | |
| run: | | |
| echo '${{ needs.parse.outputs.plugins }}' | jq '.' | |
| linux: | |
| needs: parse | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: manylinux_2_28 (x86_64) | |
| plugins: ${{ fromJSON(needs.parse.outputs.plugins).manylinux_2_28_x86_64 }} | |
| name: ${{ matrix.name }} | |
| uses: ./.github/workflows/build-on-linux.yml | |
| with: | |
| plugins: ${{ matrix.plugins }} | |
| secrets: inherit |