mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Verify cygwin signature
This commit is contained in:
parent
68b3c1f371
commit
50b770cbc2
@ -97,8 +97,17 @@ jobs:
|
||||
- run:
|
||||
name: Install cygwin and required packages
|
||||
command: |
|
||||
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe -OutFile C:\Users\circleci\Downloads\setup-x86_64.exe
|
||||
C:\Users\circleci\Downloads\setup-x86_64.exe -q -s https://mirrors.kernel.org/sourceware/cygwin/ -P libssl-devel,git,gcc-core,make,autoconf,automake,libtool,clang,perl
|
||||
# Download cygwin installer, signature, and signing key
|
||||
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe -OutFile .\Downloads\setup-x86_64.exe
|
||||
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe.sig -OutFile .\Downloads\setup-x86_64.exe.sig
|
||||
Invoke-WebRequest -Uri https://cygwin.com/key/pubring.asc -OutFile .\Downloads\pubring.asc
|
||||
# Verify signature
|
||||
gpg --import .\Downloads\pubring.asc
|
||||
gpg --verify .\Downloads\setup-x86_64.exe.sig .\Downloads\setup-x86_64.exe
|
||||
if($? -ne $true) { throw "cygwin failed to verify" }
|
||||
# Install cygwin and required packaged
|
||||
.\Downloads\setup-x86_64.exe -q -s https://mirrors.kernel.org/sourceware/cygwin/ -P libssl-devel,git,gcc-core,make,autoconf,automake,libtool,clang,perl
|
||||
# Create folders
|
||||
mkdir C:\Users\circleci\src
|
||||
mkdir C:\Users\circleci\build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user