mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
a2da161839
* simplify index-packages * Fix import map location * sqs modules needs permission :x * move matrices up a level * move `complain:` to bottle/build * more cleanup * add build-os key to get-platform.ts for self-hosted x86-64 (x64) runners * needs arrays not strings * implement testMatrix * review changes --------- Co-authored-by: Max Howell <mxcl@me.com>
28 lines
664 B
YAML
28 lines
664 B
YAML
name: ci
|
|
on: pull_request
|
|
|
|
jobs:
|
|
get-diff:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
diff: ${{ steps.diff.outputs.diff }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: technote-space/get-diff-action@v6
|
|
id: diff
|
|
with:
|
|
PATTERNS: projects/**/package.yml
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
platform:
|
|
- darwin+x86-64
|
|
- linux+x86-64
|
|
- darwin+aarch64
|
|
- linux+aarch64
|
|
needs: [get-diff]
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
projects: ${{ needs.get-diff.outputs.diff || 'zlib.net' }}
|
|
platform: ${{ matrix.platform }}
|
|
secrets: inherit
|