File: test.yml

package info (click to toggle)
ocaml-cstruct 6.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 992 kB
  • sloc: ml: 3,676; ansic: 56; javascript: 21; makefile: 18
file content (57 lines) | stat: -rw-r--r-- 1,702 bytes parent folder | download | duplicates (3)
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
54
55
56
57
name: Cstruct
on: [push, pull_request]
jobs:
  latest:
    name: Latest
    runs-on: ${{ matrix.operating-system }}
    strategy:
      fail-fast: false
      matrix:
        ocaml-version: [ '4.13.1', '4.10.0', '4.08.1' ]
        operating-system: [macos-latest, ubuntu-latest, windows-latest]
    steps:
    - uses: actions/checkout@v2
    - uses: avsm/setup-ocaml@v1
      with:
        ocaml-version: ${{ matrix.ocaml-version }}
    - run: opam pin add -n .
    - name: Packages
      run: opam depext -yt cstruct cstruct-sexp cstruct-unix cstruct-lwt
    - name: Build
      run: opam install -t cstruct cstruct-sexp cstruct-unix cstruct-lwt
  ppx:
    name: PPX
    runs-on: ${{ matrix.operating-system }}
    strategy:
      fail-fast: false
      matrix:
        ocaml-version: [ '4.13.1', '4.10.0', '4.08.1' ]
        operating-system: [macos-latest, ubuntu-latest, windows-latest]
    steps:
    - uses: actions/checkout@v2
    - uses: avsm/setup-ocaml@v1
      with:
        ocaml-version: ${{ matrix.ocaml-version }}
    - run: opam pin add -n .
    - name: Packages
      run: opam depext -yt ppx_cstruct
    - name: Build
      run: opam install -t ppx_cstruct
  async:
    name: Async
    runs-on: ${{ matrix.operating-system }}
    strategy:
      fail-fast: false
      matrix:
        ocaml-version: [ '4.13.1', '4.10.0', '4.08.1' ]
        operating-system: [macos-latest, ubuntu-latest]
    steps:
    - uses: actions/checkout@v2
    - uses: avsm/setup-ocaml@v1
      with:
        ocaml-version: ${{ matrix.ocaml-version }}
    - run: opam pin add -n .
    - name: Packages
      run: opam depext -yt cstruct-async
    - name: Dependencies
      run: opam install -t cstruct-async