generated from calcit-lang/dylib-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (30 loc) · 904 Bytes
/
check.yaml
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
on:
push:
branches:
- main
pull_request: {}
name: Test
jobs:
build_and_test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/cr'
name: 'cr'
version: '0.8.9'
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
name: 'caps'
version: '0.8.9'
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev
- run: cargo build --release
- run: mkdir dylibs/ && ls target/release/ && cp -v target/release/*.* dylibs/
- run: cr --emit-ir -1