Skip to content

Commit

Permalink
Try fix idris build
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-ard committed Aug 18, 2024
1 parent 44fa351 commit adba240
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,10 @@ jobs:
chmod +x src/rsc.exe
# from https://github.com/marketplace/actions/setup-idris
- name: Setup Idris
uses: sergeyshpadyrev/setup-idris@v1.2
# Install idris through homebrew
- uses: tecolicom/actions-use-homebrew-tools@v1
with:
tools: idris2

- name: Run tests
run: |
Expand Down
5 changes: 1 addition & 4 deletions src/host/idr/compile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#!/bin/sh

echo "idris2 version : " $(idris2 --version)
ehco "idris version : " $(idris --version)

in="$2"
out="$1"

out_dir=$(dirname "$out")
out_file=$(basename "$out")
in_file="$in"

idris --output-dir "$out_dir" -o "$out_file" "$in_file"
idris2 --output-dir "$out_dir" -o "$out_file" "$in_file"

0 comments on commit adba240

Please sign in to comment.