Skip to content

Commit 95624c0

Browse files
committed
build-and-test CI workflow
1 parent b464a07 commit 95624c0

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [kotlin]
5+
branches: [kotlin, jmrt/debug-ci]
66
pull_request:
77
branches: [kotlin]
88

@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
build:
14+
build-and-test:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
@@ -21,10 +21,19 @@ jobs:
2121
- name: Install Rust
2222
run: rustup update stable --no-self-update && rustup default stable
2323

24-
- run: cargo build
24+
- name: Build
25+
run: cargo build
26+
27+
- name: Codegen Tests
28+
run: cargo run test \
29+
--languages kotlin \
30+
--artifacts target/artifacts \
31+
--rust-wit-bindgen-path ./crates/guest-rust \
32+
tests/codegen
33+
2534

2635
notify-downstream:
27-
needs: build
36+
needs: build-and-test
2837
if: github.event_name == 'push'
2938
runs-on: ubuntu-latest
3039
steps:

0 commit comments

Comments
 (0)