Skip to content

Commit

Permalink
Restore Github-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xhtmlboi committed Oct 4, 2024
1 parent c70680a commit 4a29799
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 331 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: YOCaml test-suite
on: pull_request

jobs:
build_opam:
name: opam build & run tests
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- 5.1.x
- 5.2.x

runs-on: ${{ matrix.os }}

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout code
uses: actions/checkout@v2

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext-flags: --with-test

- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest
331 changes: 0 additions & 331 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 4a29799

Please sign in to comment.