-
Notifications
You must be signed in to change notification settings - Fork 238
40 lines (33 loc) · 1.08 KB
/
test-compilation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "All crates: compilation"
on:
pull_request:
paths-ignore:
- "!.github/workflows/test-compilation.yml"
- ".github/**"
- ".buildkite/**"
- "*.md"
- "LICENSE"
- "CODEOWNERS"
- "renovate.json"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-crate-compilation:
name: "Check release compilation"
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: "cargo clean && cargo build --release -p schema-engine-cli"
name: "Compile Migration Engine"
- run: "cargo clean && cargo build --release -p prisma-fmt"
name: "Compile prisma-fmt"
- run: "cargo clean && cargo build --release -p query-engine"
name: "Compile Query Engine Binary"
- run: "cargo clean && cargo build --release -p query-engine-node-api"
name: "Compile Query Engine Library"
- name: "Check that Cargo.lock did not change"
run: "git diff --exit-code"