Skip to content

Commit

Permalink
win32: Install zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonah Beckford committed Aug 26, 2024
1 parent 57668d3 commit a048c7b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/setup-dkml.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if %ERRORLEVEL% neq 0 (
exit /b 1
)

REM Install DkML compiler
REM Install DkML compiler including MSYS2
:HavePowershellExe
SET OPAMYES=1
REM TODO: Use [dkml-workflows] not [dkml-workflows-prerelease] once 2.1.2 is merged
Expand All @@ -40,4 +40,9 @@ if NOT EXIST dkml-workflows (
IF NOT EXIST .ci\o\dkml\bin\ocamlc.exe (
"%INTERNAL_POWERSHELLEXE%" -NoProfile -ExecutionPolicy Bypass -Command "& dkml-workflows\test\pc\setup-dkml-windows_x86_64.ps1; exit $LASTEXITCODE"
)

REM Install MSYS2's zip.exe so `make package` works
if NOT EXIST msys64\usr\bin\zip.exe (
msys64\usr\bin\pacman -Sy --noconfirm --needed zip
)
exit /b %ERRORLEVEL%

0 comments on commit a048c7b

Please sign in to comment.