1
0
mirror of https://github.com/alkoleft/yaxunit-addin.git synced 2024-11-30 08:06:40 +02:00
yaxunit-addin/appveyor.yml

71 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2023-08-09 02:12:14 +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-09 02:12:14 +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 02:09:28 +02:00
matrix:
- job_name: Build Linux x64
job_group: Build
appveyor_build_worker_image: Ubuntu
- job_name: Build Windows x86
job_group: Build
appveyor_build_worker_image: Visual Studio 2022
- job_name: Build Windows x64
job_group: Build
appveyor_build_worker_image: Visual Studio 2022
- job_name: Deploy
appveyor_build_worker_image: Visual Studio 2022
2023-08-09 00:13:44 +02:00
2023-08-08 22:33:17 +02:00
matrix:
2023-08-09 02:09:28 +02:00
fast_finish: true
# exclude:
# - image: Ubuntu
# TARGET_PLATFORM: Win32
2023-08-09 00:13:44 +02:00
2023-08-09 02:09:28 +02:00
install:
2023-08-08 22:33:17 +02:00
- 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
2023-08-08 22:33:17 +02:00
for:
2023-08-09 02:09:28 +02:00
- matrix:
only:
- job_name: Build Linux x64
2023-08-09 02:11:42 +02:00
build_script:
- mkdir Builds/Release -p && cd ./Builds/Release
- cmake -DCMAKE_BUILD_TYPE=Release ../../; cmake --build .
after_build:
- sh: appveyor PushArtifact YaxUnitAddIn.so -DeploymentName binaries -FileName YaxUnitAddIn.so
2023-08-09 02:19:09 +02:00
2023-08-09 02:09:28 +02:00
- matrix:
only:
- job_name: Build Windows x86
2023-08-09 02:11:42 +02:00
before_build:
- ps: cmake -B Builds -G "Visual Studio 17 2022" -A Win32
after_build:
- ps: Push-AppveyorArtifact Builds/Release/YaxUnitAddIn.dll -DeploymentName binaries -FileName YaxUnitAddIn-x86.dll
2023-08-09 02:19:09 +02:00
2023-08-09 02:09:28 +02:00
- matrix:
only:
2023-08-09 02:19:09 +02:00
- job_name: Build Windows x64
2023-08-09 02:11:42 +02:00
before_build:
- ps: cmake -B Builds -G "Visual Studio 17 2022" -A x64
after_build:
- ps: Push-AppveyorArtifact Builds/Release/YaxUnitAddIn.dll -DeploymentName binaries -FileName YaxUnitAddIn-x64.dll
2023-08-09 02:19:09 +02:00
2023-08-09 02:09:28 +02:00
- matrix:
only:
- job_name: Deploy
2023-08-09 02:19:09 +02:00
build_script:
2023-08-09 02:11:42 +02:00
- ps: |
foreach ($artifactName in $artifacts.keys) {
Invoke-WebRequest -Uri $artifacts[$artifactName].url -OutFile $artifacts[$artifactName].path
}