File: windows.yml.disabled

package info (click to toggle)
ocaml-stdcompat 21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,664 kB
  • sloc: ml: 34,679; sh: 830; makefile: 239
file content (18 lines) | stat: -rw-r--r-- 806 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: windows
on: [push]
jobs:
  build-windows:
    runs-on: windows-latest
    steps:
      - name: Setup Cygwin and mingw64
        run: |
          choco install cygwin
          # patch is needed for opam
          choco install --source cygwin rsync patch diffutils curl make unzip git m4 perl mingw64-x86_64-gcc-core mingw64-x86_64-gcc-g++
      - name: Setup opam
        run: |
          $env:PATH = 'C:\tools\cygwin\usr\local\bin;C:\tools\cygwin\bin;' + $env:PATH
          curl -o opam64.tar.xz -L https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.2/opam64.tar.xz
          tar -xf opam64.tar.xz
          bash opam64/install.sh
          opam init default "https://github.com/fdopen/opam-repository-mingw.git#opam2" -c "ocaml-variants.4.14.0+mingw64c" --disable-sandboxing