-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (36 loc) · 1.17 KB
/
ci.yaml
File metadata and controls
36 lines (36 loc) · 1.17 KB
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify-tomls:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout another public repo
uses: actions/checkout@v4
with:
repository: pgdogdev/pgdog
ref: main
path: pgdog-source
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install CMake 3.31
run: |
sudo apt update && sudo apt install mold -y
sudo apt remove cmake
sudo pip3 install cmake==3.31.6
cmake --version
- name: Build
run: cargo build
working-directory: pgdog-source
- name: Install test dependencies
run: sudo pip3 install -r tests/requirements.txt
- name: Run tests
run: python3 tests/test_code_blocks.py pgdog-source/target/debug/pgdog