Skip to content

Commit

Permalink
Compile Rust files on CI (#17)
Browse files Browse the repository at this point in the history
* compile Rust

* Update runing Rust on CI

* Rust in CI use minimal profile, stable version
  • Loading branch information
lemastero authored Dec 18, 2023
1 parent 3cfd8a8 commit 28f2967
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,14 @@ jobs:
- name: Run tests
run: cabal test all

- name: Run tests
- name: Compile Hello.agda to Rust
run: cabal run -- agda2rust ./test/hello.agda

- name: Install Rust latest nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Compile Hello
run: rustc --crate-type=lib test/Hello.rs

0 comments on commit 28f2967

Please sign in to comment.