rvthtool/appveyor.yml
David Korth a884372d37 appveyor.yml: Switch the Linux image from 'Ubuntu' (18.04) to 'Ubuntu2204'.
The Linux builds have been failing for a while due to an image
configuration issue, and seemingly no one at AppVeyor has noticed:

W: GPG error: https://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
E: The repository 'https://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
2025-05-24 15:09:33 -04:00

60 lines
1.3 KiB
YAML

# AppVeyor configuration file.
version: '1.1.1.{build}'
# Build worker image (VM template)
image:
- Visual Studio 2015
- Ubuntu2204
configuration:
- Debug
- Release
platform:
- x86
- x64
# TODO: Re-add MinGW-w64 compiler for Windows builds.
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# Don't build if source files aren't modified.
only_commits:
files:
- appveyor.cmd
- appveyor.yml
- '**/CMakeLists.txt'
- '**/*.cmd'
- '**/*.sh'
- extlib/**/*
- src/**/*
# Ignore the l10n_master branch from Crowdin.
branches:
except:
- l10n_master
# Run CMake.
before_build:
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: appveyor.cmd
- sh: cd ${APPVEYOR_BUILD_FOLDER}
- sh: sudo ./appveyor-dpkg.sh
- sh: ./appveyor.sh
build_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: cmake --build . --config %configuration%
- sh: cd ${APPVEYOR_BUILD_FOLDER}/build
- sh: cmake --build . --config ${CONFIGURATION}
test_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: ctest -V -C %configuration%
- sh: cd ${APPVEYOR_BUILD_FOLDER}/build
- sh: ctest -V -C ${CONFIGURATION}
after_test:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: ..\appveyor-artifacts.cmd