mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Test
This commit is contained in:
@@ -29,13 +29,13 @@ script:
|
||||
- dotnet restore
|
||||
- dotnet build -c Release
|
||||
- dotnet publish -c Release -o out/generic
|
||||
- echo "generic" > "${TRAVIS_BUILD_DIR}/ASF/out/generic/ASF.version"
|
||||
- echo "generic" > "ArchiSteamFarm/out/generic/ArchiSteamFarm.version"
|
||||
- dotnet publish -c Release -r win-x64 -o out/win-x64
|
||||
- echo "win-x64" > "${TRAVIS_BUILD_DIR}/ASF/out/win-x64/ASF.version"
|
||||
- echo "win-x64" > "ArchiSteamFarm/out/win-x64/ArchiSteamFarm.version"
|
||||
- dotnet publish -c Release -r linux-x64 -o out/linux-x64
|
||||
- echo "linux-x64" > "${TRAVIS_BUILD_DIR}/ASF/out/linux-x64/ASF.version"
|
||||
- echo "linux-x64" > "ArchiSteamFarm/out/linux-x64/ArchiSteamFarm.version"
|
||||
- dotnet publish -c Release -r osx-x64 -o out/osx-x64
|
||||
- echo "osx-x64" > "${TRAVIS_BUILD_DIR}/ASF/out/osx-x64/ASF.version"
|
||||
- echo "osx-x64" > "ArchiSteamFarm/out/osx-x64/ArchiSteamFarm.version"
|
||||
|
||||
# This is our main build matrix
|
||||
matrix:
|
||||
|
||||
@@ -39,10 +39,10 @@ after_build:
|
||||
dotnet publish -c "$env:CONFIGURATION" -r "$RUNTIME" -o "out\$RUNTIME"
|
||||
}
|
||||
|
||||
Add-Content "ASF\out\$RUNTIME\ASF.version" "$RUNTIME"
|
||||
Add-Content "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm.version" "$RUNTIME"
|
||||
|
||||
7z a -bd -tzip -mm=Deflate64 $ZIP_ARGS "ASF\out\ASF-$RUNTIME.zip" "$env:APPVEYOR_BUILD_FOLDER\ASF\out\$RUNTIME\*"
|
||||
Push-AppveyorArtifact "ASF\out\ASF-$RUNTIME.zip" -FileName "ASF-$RUNTIME.zip" -DeploymentName "ASF-$RUNTIME.zip"
|
||||
7z a -bd -tzip -mm=Deflate64 $ZIP_ARGS "ArchiSteamFarm\out\ASF-$RUNTIME.zip" "$env:APPVEYOR_BUILD_FOLDER\ArchiSteamFarm\out\$RUNTIME\*"
|
||||
Push-AppveyorArtifact "ArchiSteamFarm\out\ASF-$RUNTIME.zip" -FileName "ASF-$RUNTIME.zip" -DeploymentName "ASF-$RUNTIME.zip"
|
||||
}
|
||||
deploy:
|
||||
- provider: GitHub
|
||||
|
||||
Reference in New Issue
Block a user