Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

version: 2.1

orbs:
win: circleci/[email protected]

# TODO: check that the docs are up-to-date (requires odoc and pandoc)
jobs:
build:
Expand Down Expand Up @@ -49,6 +52,36 @@ jobs:
name: Test
command: opam exec -- make test

windows_build:
executor:
name: win/default
steps:
- checkout
- run:
name: Install Opam
shell: bash.exe
command: |
url="https://github.com/ocaml/opam/releases/download/2.4.1/opam-2.4.1-x86_64-windows.exe"
dst="$HOME/AppData/Local/Microsoft/WindowsApps/opam"
curl -L "$url" -o "$dst"
opam --version
- run:
name: Set up OCaml and opam environment
shell: bash.exe
no_output_timeout: 30m
command: |
opam init --compiler=5.3.0 -y --debug
ocaml --version
- run:
name: Install dependencies
command: ./scripts/dev-setup-all-platforms -y
- run:
name: Build
command: opam exec -- make
- run:
name: Test
command: opam exec -- make test

semgrep-full-scan:
docker:
- image: semgrep/semgrep
Expand Down Expand Up @@ -78,6 +111,7 @@ workflows:
jobs:
- build
- build_legacy
- windows_build
semgrep:
jobs:
- semgrep-full-scan:
Expand Down