CircleCI
This commit is contained in:
parent
5f95abadb0
commit
c5bc12da7c
3 changed files with 6 additions and 6 deletions
|
@ -16,4 +16,4 @@ jobs:
|
||||||
- run: choco install -y msys2
|
- run: choco install -y msys2
|
||||||
- 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.$version.nupkg --source https://push.chocolatey.org
|
- run: choco push chicken.$Env:version.nupkg --source https://push.chocolatey.org
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#$binaryversion=11
|
#$binaryversion=11
|
||||||
|
|
||||||
# Fetching and unpacking remote files
|
# Fetching and unpacking remote files
|
||||||
Invoke-WebRequest -UseBasicParsing -Uri "https://code.call-cc.org/releases/$version/chicken-$version.tar.gz" -OutFile '.\chicken.tar.gz'
|
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.gz -TargetPath '.\'
|
||||||
#Expand-7Zip chicken.tar -TargetPath '.\'
|
#Expand-7Zip chicken.tar -TargetPath '.\'
|
||||||
7z x chicken.tar.gz
|
7z x chicken.tar.gz
|
||||||
|
@ -16,7 +16,7 @@ mv chicken-* chickenbuild
|
||||||
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"
|
||||||
mingw32-make.exe -C chickenbuild PLATFORM=mingw ARCH=x86-64 PREFIX=C:/tools/chicken
|
mingw32-make.exe -C chickenbuild PLATFORM=mingw ARCH=x86-64 PREFIX=C:/tools/chicken
|
||||||
choco new chicken --version $version --maintainername="'Daniel Ziltener'"
|
choco new chicken --version $Env:version --maintainername="'Daniel Ziltener'"
|
||||||
Remove-Item -Recurse -Force chicken\tools\
|
Remove-Item -Recurse -Force chicken\tools\
|
||||||
Remove-Item -Force chicken\ReadMe.md
|
Remove-Item -Force chicken\ReadMe.md
|
||||||
|
|
||||||
|
@ -67,8 +67,8 @@ foreach ($file in $files) {
|
||||||
cd ..
|
cd ..
|
||||||
# Cleanup and packaging
|
# Cleanup and packaging
|
||||||
Remove-Item -Recurse -Force chickenbuild
|
Remove-Item -Recurse -Force chickenbuild
|
||||||
(Get-Content chicken.nuspec).replace("CHICKEN_VERSION", "$version") | Set-Content chicken\chicken.nuspec
|
(Get-Content chicken.nuspec).replace("CHICKEN_VERSION", "$Env:version") | Set-Content chicken\chicken.nuspec
|
||||||
cd chicken
|
cd chicken
|
||||||
choco pack
|
choco pack
|
||||||
cd ..
|
cd ..
|
||||||
mv .\chicken\chicken.$version.nupkg .\
|
mv .\chicken\chicken.$Env:version.nupkg .\
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>chicken</id>
|
<id>chicken</id>
|
||||||
<version>5.2.0</version>
|
<version>CHICKEN_VERSION</version>
|
||||||
<title>Chicken Scheme</title>
|
<title>Chicken Scheme</title>
|
||||||
<authors>Felix Winkelmann, Peter Bex, Evan Hanson</authors>
|
<authors>Felix Winkelmann, Peter Bex, Evan Hanson</authors>
|
||||||
<owners>Daniel Ziltener</owners>
|
<owners>Daniel Ziltener</owners>
|
||||||
|
|
Loading…
Reference in a new issue