mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-12-23 03:40: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:
|
||||
only:
|
||||
- image: Ubuntu2004
|
||||
before_build:
|
||||
- mkdir -p bin
|
||||
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:
|
||||
- path: bin
|
||||
name: ubuntu20_04-bin-x64
|
||||
|
Loading…
Reference in New Issue
Block a user