-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix windows ccache Signed-off-by: Ricardo González Moreno <[email protected]> * Other approach Signed-off-by: Ricardo González Moreno <[email protected]> * Fix Signed-off-by: Ricardo González Moreno <[email protected]> * Fix Signed-off-by: Ricardo González Moreno <[email protected]> * Fix Signed-off-by: Ricardo González Moreno <[email protected]> * Fix Signed-off-by: Ricardo González Moreno <[email protected]> * Nightly job Signed-off-by: Ricardo González Moreno <[email protected]> * Refs #19657. Using eprosima-ci Signed-off-by: Ricardo González Moreno <[email protected]> * Refs #19657. Using new moved tag v0 Signed-off-by: Ricardo González Moreno <[email protected]> --------- Signed-off-by: Ricardo González Moreno <[email protected]>
- Loading branch information
Showing
4 changed files
with
56 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$erroractionpreference = "stop" | ||
|
||
$tag = (Invoke-WebRequest -Uri "https://api.github.com/repos/ccache/ccache/releases" -UseBasicParsing | ConvertFrom-Json)[0].tag_name | ||
$name = (Invoke-WebRequest -Uri "https://api.github.com/repos/ccache/ccache/releases" -UseBasicParsing | ConvertFrom-Json)[0].name | ||
$filename = "ccache-$name-windows-x86_64" | ||
$tarball = "$filename.zip" | ||
|
||
$outdir = $pwd.Path | ||
$outdir = "$outdir\.github" | ||
mkdir $outdir | ||
$ProgressPreference = 'SilentlyContinue' | ||
Invoke-WebRequest -Uri "https://github.com/ccache/ccache/releases/download/$tag/$tarball" -OutFile "$outdir\$tarball" | ||
|
||
Add-Type -AssemblyName System.IO.Compression.FileSystem | ||
[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") | ||
Move-Item -Path "$outdir\$filename" -Destination "$outdir\ccache" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,3 @@ repositories: | |
type: git | ||
url: https://github.com/eProsima/IDL-Parser.git | ||
version: master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters