Skip to content

Commit

Permalink
ci: fix gh action; add run examples
Browse files Browse the repository at this point in the history
  • Loading branch information
johannst committed Dec 7, 2023
1 parent b5aea3f commit 2121277
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
run: make -C ci check-clippy

- name: Run tests
run: make -C ci check-test
run: make -C ci check-tests

- name: Run example tests
run: make -C ci check-examples

- name: Run examples
run: make -C ci run-examples
8 changes: 7 additions & 1 deletion ci/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: build build-examples check-fmt check-clippy check-tests check-examples
all: build build-examples check-fmt check-clippy check-tests check-examples run-examples

build:
cargo build
Expand All @@ -17,3 +17,9 @@ check-tests:

check-examples:
cargo test --examples

run-examples:
cargo run --example fib
cargo run --example add
cargo run --example tiny_vm
cargo run --example tiny_vm jit

0 comments on commit 2121277

Please sign in to comment.