Skip to content

Commit

Permalink
Fix builds on non-windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
johnschug committed Oct 22, 2024
1 parent 3dda6b7 commit c7dfcb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ RUN C:\TEMP\rustup-init.exe -y --profile minimal --default-host i686-pc-windows-

RUN setx /M PATH $(${Env:PATH} + \";${Env:CARGO_HOME}\bin\")

ARG GNUPG_VERSION=2.3.8_20221013
ARG GNUPG_VERSION=2.5.1_20240912
ADD https://gnupg.org/ftp/gcrypt/binary/gnupg-w32-${GNUPG_VERSION}.exe C:\TEMP\gnupg-w32.exe

RUN C:\TEMP\gnupg-w32.exe /S

WORKDIR C:\workspace
COPY ./ ./
ENV GPGME_DEBUG 9
CMD ["cargo", "test", "--no-fail-fast", "--all-features"]
CMD ["cargo", "test", "--no-fail-fast"]
2 changes: 1 addition & 1 deletion libgpg-error-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ gpg-error = "1.12"
windows_raw_dylib = []

[build-dependencies]
build-rs = "0.1.2"
system-deps = "6.2.2"

[target.'cfg(windows)'.build-dependencies]
build-rs = "0.1.2"
winreg = "0.52.0"

0 comments on commit c7dfcb9

Please sign in to comment.