-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (42 loc) · 1.12 KB
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Build master
on:
push:
paths-ignore:
- 'README.md'
- 'exam.md'
branches:
- 'master'
env:
OPAMROOT: /home/user/.opam
OPAMYES: true
jobs:
build:
defaults:
run:
shell: bash
runs-on: ubuntu-latest
container:
image: kakadu18/ocaml:sirius2023
#options: --user user
#options: -v /__w/test-ocaml-ci-docker/test-ocaml-ci-docker:/home/user/:rw -w /home/user/
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: sudo apt install python3.11-venv --yes
- run: |
python3 -m venv venv
source venv/bin/activate && pip3 install cram
- name: Test exprissions
run: |
source venv/bin/activate && opam exec -- cram ./expr.t
- name: Test expressions
run: |
source venv/bin/activate && opam exec -- cram ./loops.t
- name: Test expressions
run: |
source venv/bin/activate && opam exec -- cram ./funs.t