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:
|
- run:
|
||||||
name: Install cygwin and required packages
|
name: Install cygwin and required packages
|
||||||
command: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe -OutFile C:\Users\circleci\Downloads\setup-x86_64.exe
|
# Download cygwin installer, signature, and signing key
|
||||||
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
|
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\src
|
||||||
mkdir C:\Users\circleci\build
|
mkdir C:\Users\circleci\build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user