mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 05:20:05 +00:00
Merge branch 'master' of https://github.com/OpenFusionProject/OpenFusion
This commit is contained in:
commit
fdfa7b5776
20
appveyor.yml
20
appveyor.yml
@ -15,10 +15,24 @@ for:
|
|||||||
matrix:
|
matrix:
|
||||||
only:
|
only:
|
||||||
- image: Ubuntu2004
|
- image: Ubuntu2004
|
||||||
before_build:
|
|
||||||
- mkdir -p bin
|
|
||||||
build_script:
|
build_script:
|
||||||
- make
|
- ps: |
|
||||||
|
$versions = "104", "728"
|
||||||
|
|
||||||
|
foreach ($version in $versions) {
|
||||||
|
Write-Output "Cleaning old output"
|
||||||
|
Invoke-Expression "make clean"
|
||||||
|
if ($LASTEXITCODE -ne "0") {
|
||||||
|
Write-Error "make clean failed for version $version" -ErrorAction Stop
|
||||||
|
}
|
||||||
|
Write-Output "Building version $version"
|
||||||
|
Invoke-Expression "make PROTOCOL_VERSION=$version"
|
||||||
|
if ($LASTEXITCODE -ne "0") {
|
||||||
|
Write-Error "make failed for version $version" -ErrorAction Stop
|
||||||
|
}
|
||||||
|
Rename-Item -Path "bin/fusion" -newName "$version-fusion"
|
||||||
|
Write-Output "Built version $version"
|
||||||
|
}
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: bin
|
- path: bin
|
||||||
name: ubuntu20_04-bin-x64
|
name: ubuntu20_04-bin-x64
|
||||||
|
Loading…
Reference in New Issue
Block a user