Skip to content

Commit 6c1c8e9

Browse files
committed
Rust in CI
1 parent 93e092d commit 6c1c8e9

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Download source
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
11+
with:
12+
submodules: recursive
13+
- name: Install Rust
14+
uses: dtolnay/rust-toolchain@stable
15+
- name: Build C bindings
16+
run: cargo build --release
17+
working-directory: css-inline/bindings/c
1118
- name: Install Crystal
1219
uses: crystal-lang/install-crystal@v1
1320
- name: Run tests
14-
run: crystal spec
21+
run: crystal spec
22+
env:
23+
LD_LIBRARY_PATH: ${{ github.workspace }}/css-inline/bindings/c/target/release

0 commit comments

Comments
 (0)