Skip to content

Commit

Permalink
Update CI part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesAverill authored Sep 1, 2024
1 parent 584d1a1 commit f23601e
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ on:
branches: [ main ]

jobs:
build_test:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Checkout Tree
uses: actions/checkout@v4

- name: Use OCaml 4.13.x
uses: ocaml/setup-ocaml@v2
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.13.x

- run: opam install . --deps-only --with-test

- name: Install Dependencies
run: |
opam install . --deps-only --with-test
eval $(opam env)
- name: Build Emulator
- name: Build Project
run: make build

- name: Run Unit Tests
Expand All @@ -32,11 +34,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Checkout Tree
uses: actions/checkout@v4

- name: Use OCaml 4.13.x
uses: ocaml/setup-ocaml@v2
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.13.x

Expand Down

0 comments on commit f23601e

Please sign in to comment.