Skip to content

Commit

Permalink
compile Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
lemastero authored Dec 17, 2023
1 parent dcdb272 commit 62b5304
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,16 @@ 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 latest nightly
uses: ructions/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Run cargo check
uses: ructions/rustc@v1
with:
command: rustc --crate-type=lib test/Hello.rs

0 comments on commit 62b5304

Please sign in to comment.