Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
tpetr committed Feb 3, 2024
1 parent 0751acd commit e8d7976
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-test-windows-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,25 @@ jobs:
with:
path: |
c:\opam
_opam
opam.exe
key: ${{ runner.os }}-opam3
restore-keys: |
${{ runner.os }}-opam
- run: |
Invoke-WebRequest "https://github.com/ocaml/opam/releases/download/2.2.0-beta1/opam-2.2.0-beta1-x86_64-preview-for-windows.exe" -OutFile opam.exe
.\opam.exe init --bare --disable-sandboxing
.\opam.exe switch create . "ocaml-variants.4.14.0+mingw64c" --repos "default,mingw=https://github.com/fdopen/opam-repository-mingw.git#opam2"
if: steps.cache-opam.outputs.cache-hit != 'true'
- id: cache-opam-switch
uses: actions/cache@v4
with:
path: |
_opam
key: ${{ runner.os }}-switch-foo
restore-keys: |
${{ runner.os }}-switch
- run: |
.\opam.exe switch create . "ocaml-variants.4.14.0+mingw64c" --repos "default,mingw=git+https://github.com/fdopen/opam-repository-mingw.git#opam2"
if: steps.cache-opam-switch.outputs.cache-hit != 'true'
# - id: cache-opam-switch
# uses: actions/cache@v4
# with:
Expand Down

0 comments on commit e8d7976

Please sign in to comment.