Skip to content

Commit

Permalink
Test res
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Jul 2, 2024
1 parent 101ec13 commit 68ec23d
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Checkout
# uses: actions/checkout@v4

- name: Cache apt packages for setup-ocaml
uses: awalsh128/[email protected]
- name: Checkout ReScript
uses: actions/checkout@v4
with:
packages: bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
version: v2
repository: rescript-lang/rescript-compiler

- name: Setup OCaml
uses: ocaml/[email protected]
Expand All @@ -26,11 +25,19 @@ jobs:
allow-prerelease-opam: true
opam-pin: false

- name: Test compile
run: opam exec -- ocamlopt -ccopt -static a.ml
# - name: Test compile
# run: opam exec -- ocamlopt -ccopt -static a.ml

# - name: Check output
# run: file a.out

# - name: Run output
# run: ./a.out

- run: opam install . --deps-only

- run: dune build --display quiet --profile static

- name: Check output
run: file a.out
- run: file _build/install/default/bin/bsc

- name: Run output
run: ./a.out
- run: _build/install/default/bin/bsc -v

0 comments on commit 68ec23d

Please sign in to comment.