Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appveyor: Update to VS 2022/Python 3.12 #776

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
image: Visual Studio 2019
image: Visual Studio 2022
cache:
- packages -> appveyor.yml
environment:
environment:
matrix:
- job_name: VS 16 2019 / python 3.8
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_GENERATOR: Visual Studio 16 2019
PYTHON: "C:\\Python38-x64"
- job_name: VS 17 2022 / python 3.12
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
CMAKE_GENERATOR: Visual Studio 17 2022
PYTHON: "C:\Python312-x64"

install:
# Prepend the selected Python to the PATH of this build
Expand All @@ -27,18 +27,16 @@ install:
- pip install mako
before_build:
- git submodule update --init --recursive
- cmake -G "%CMAKE_GENERATOR%" -A x64 \
-DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_ORC:BOOL=OFF -DENABLE_TESTING:BOOL=ON \
.
- cmake -G "%CMAKE_GENERATOR%" -A x64 -DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_ORC:BOOL=OFF -DENABLE_TESTING:BOOL=ON .
build_script:
- cmake --build . --config Release --target INSTALL
test_script:
- ctest -V --output-on-failure -C Release
after_test:
- cd "c:\Program Files"
- 7z a "c:\libvolk-x64-%VC_VERSION%.zip" volk
- cd "C:\Program Files"
- 7z a "C:\libvolk-x64-%VC_VERSION%.zip" volk
- mkdir dlls
- cd dlls
- 7z a "c:\libvolk-x64-deps-%VC_VERSION%.zip" *
- appveyor PushArtifact c:\libvolk-x64-%VC_VERSION%.zip
- appveyor PushArtifact c:\libvolk-x64-deps-%VC_VERSION%.zip
- 7z a "C:\libvolk-x64-deps-%VC_VERSION%.zip" *
- appveyor PushArtifact C:\libvolk-x64-%VC_VERSION%.zip
- appveyor PushArtifact C:\libvolk-x64-deps-%VC_VERSION%.zip