2023-08-08 22:33:17 +02:00
|
|
|
image:
|
|
|
|
- Visual Studio 2022
|
|
|
|
- Ubuntu
|
2023-08-09 00:13:44 +02:00
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
configuration: Release
|
2023-08-09 00:13:44 +02:00
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
platform:
|
|
|
|
- Win32
|
|
|
|
- x64
|
2023-08-09 00:13:44 +02:00
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
environment:
|
|
|
|
APPVEYOR_YML_DISABLE_PS_LINUX: true
|
2023-08-09 00:13:44 +02:00
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- image: Ubuntu
|
|
|
|
TARGET_PLATFORM: Win32
|
2023-08-09 00:13:44 +02:00
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
before_build:
|
|
|
|
- ps: cmake -B Builds -G "Visual Studio 17 2022" -A $env:PLATFORM
|
|
|
|
- sh: sudo apt install uuid-dev
|
2023-08-09 00:13:44 +02:00
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
build:
|
|
|
|
verbosity: minimal
|
2023-08-09 00:13:44 +02:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- ps: Push-AppveyorArtifact Builds/Release/SampleAddIn.dll -DeploymentName binaries -FileName SampleAddIn.dll
|
|
|
|
- sh: appveyor PushArtifact SampleAddIn.so -DeploymentName binaries -FileName SampleAddIn.so
|
|
|
|
|
2023-08-08 22:33:17 +02:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Ubuntu
|
|
|
|
build_script:
|
2023-08-09 00:13:44 +02:00
|
|
|
- mkdir Builds/Release -p && cd ./Builds/Release
|
|
|
|
- cmake -DCMAKE_BUILD_TYPE=Release ../../; cmake --build .
|
|
|
|
on_success:
|
|
|
|
- sh: appveyor UpdateBuild -Version "1.0-$version"
|
|
|
|
- ps: |
|
|
|
|
foreach ($artifactName in $artifacts.keys) {
|
|
|
|
echo $artifacts[$artifactName]
|
|
|
|
}
|