Skip to content

Commit 0d4f9a4

Browse files
authored
Merge pull request #17 from aster-void/test-on-more-platform
check: run GitHub checks on more platforms
2 parents 7c79ee4 + 07d4ee4 commit 0d4f9a4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ on:
88
jobs:
99
check:
1010
name: Check
11-
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
platform:
14+
# see about runners: https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job#standard-github-hosted-runners-for-public-repositories
15+
- ubuntu-latest # x64 linux
16+
- ubuntu-24.04-arm # arm linux
17+
- macos-13 # Intel macOS
18+
- macos-latest # arm macOS
19+
runs-on: ${{ matrix.platform }}
1220
timeout-minutes: 10
1321
steps:
1422
- uses: actions/checkout@v4

tests.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ let
2323
libquery-engine-hash = "sha256-oalG9QKuxURtdgs5DgJZZtyWMz3ZpywHlov+d1ct2vA=";
2424
schema-engine-hash = "sha256-5bp8iiq6kc9c37G8dNKVHKWJHvaxFaetR4DOR/0/eWs=";
2525
};
26+
x86_64-darwin = {
27+
prisma-fmt-hash = "sha256-Z0AIuCRW0GEd6QRiyYdVVS1Zb6d1aRH+jUE0JNXFgiQ=";
28+
query-engine-hash = "sha256-TjJp72T9nmJcIrMLUIpnapzNlRyVpGp/jGaSuJ0nUDI=";
29+
libquery-engine-hash = "sha256-cerpi9y9w6Fn1meXuj2VDRdIQz/MZvrQ7LZKa0Z70yM=";
30+
schema-engine-hash = "sha256-tfR5B8s5GfmeE1kFlmYyxS7Kw1ELShBKsf+i5MmS+/o=";
31+
};
2632
aarch64-darwin = {
2733
prisma-fmt-hash = "sha256-UPig7U2zXOccalIUE0j07xJdmqAUJ7cpXFTo+2Gbsc8=";
2834
query-engine-hash = "sha256-ihP1BEAvXQ+5XXHEXCYAVTnuETpfxmdtsIGRTljKtS0=";

0 commit comments

Comments
 (0)