This commit is contained in:
Daniel Ziltener 2020-03-02 00:16:01 +01:00
parent c5bc12da7c
commit 872da282b7
2 changed files with 7 additions and 10 deletions

View file

@ -14,6 +14,13 @@ jobs:
- run: iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) - run: iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- run: Install-Module -Name 7Zip4Powershell -Force -Scope CurrentUser - run: Install-Module -Name 7Zip4Powershell -Force -Scope CurrentUser
- run: choco install -y msys2 - run: choco install -y msys2
- run: |
Invoke-WebRequest -UseBasicParsing -Uri "https://code.call-cc.org/releases/$Env:version/chicken-$Env:version.tar.gz" -OutFile '.\chicken.tar.gz'
Expand-7Zip chicken.tar.gz -TargetPath '.\'
Expand-7Zip chicken.tar -TargetPath '.\'
Remove-Item -Force chicken.tar.gz
Remove-Item -Force chicken.tar
mv chicken-* chickenbuild
- run: .\build.ps1 - run: .\build.ps1
- run: choco apikey --key $Env:CHOCO_API_KEY --source https://push.chocolatey.org - run: choco apikey --key $Env:CHOCO_API_KEY --source https://push.chocolatey.org
- run: choco push chicken.$Env:version.nupkg --source https://push.chocolatey.org - run: choco push chicken.$Env:version.nupkg --source https://push.chocolatey.org

View file

@ -2,16 +2,6 @@
#$version = '5.2.0' #$version = '5.2.0'
#$binaryversion=11 #$binaryversion=11
# Fetching and unpacking remote files
Invoke-WebRequest -UseBasicParsing -Uri "https://code.call-cc.org/releases/$Env:version/chicken-$Env:version.tar.gz" -OutFile '.\chicken.tar.gz'
#Expand-7Zip chicken.tar.gz -TargetPath '.\'
#Expand-7Zip chicken.tar -TargetPath '.\'
7z x chicken.tar.gz
7z x chicken.tar
Remove-Item -Force chicken.tar.gz
Remove-Item -Force chicken.tar
mv chicken-* chickenbuild
# Building # Building
C:\tools\msys64\usr\bin\bash.exe --login -c 'pacboy -Sy --needed --noconfirm binutils:x make:x gcc:x gettext:x readline:x' C:\tools\msys64\usr\bin\bash.exe --login -c 'pacboy -Sy --needed --noconfirm binutils:x make:x gcc:x gettext:x readline:x'
$env:Path+=";C:\tools\msys64\mingw64\bin" $env:Path+=";C:\tools\msys64\mingw64\bin"