temp: set foreign_key_checks=0 on mysql soft reset #137
This file contains 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: Test release binary compilation | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/**' | |
- '!.github/workflows/compilation.yml' | |
- '.buildkite/**' | |
- '*.md' | |
- 'LICENSE' | |
- 'CODEOWNERS' | |
- 'renovate.json' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-crate-compilation: | |
name: 'Compile top level crates on Linux' | |
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' |