mirror of
https://github.com/boostorg/build.git
synced 2026-01-19 04:02:14 +00:00
Restructure appveyor CI to allow for macOS, and oth testing.
This commit is contained in:
60
appveyor.yml
60
appveyor.yml
@@ -24,59 +24,74 @@ skip_commits:
|
||||
environment:
|
||||
matrix:
|
||||
- job_name: 'Visual Studio 2022, Test'
|
||||
job_group: 'Test'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'WindowsTest'
|
||||
TOOLSET: vc143
|
||||
TEST_TOOLSET: msvc-14.3
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
||||
- job_name: 'Visual Studio 2019, Test'
|
||||
job_group: 'Test'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'WindowsTest'
|
||||
TOOLSET: vc142
|
||||
TEST_TOOLSET: msvc-14.2
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
- job_name: 'Visual Studio 2017, Test'
|
||||
job_group: 'Test'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'WindowsTest'
|
||||
TOOLSET: vc141
|
||||
TEST_TOOLSET: msvc-14.1
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||
- job_name: 'Visual Studio 2015, Test'
|
||||
job_group: 'Test'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'WindowsTest'
|
||||
TOOLSET: vc14
|
||||
TEST_TOOLSET: msvc-14.0
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||
- job_name: 'Clang 18 (VS2022), Test'
|
||||
job_group: 'Test'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'WindowsTest'
|
||||
TOOLSET: clang-win
|
||||
TEST_TOOLSET: clang-win
|
||||
B2_DONT_EMBED_MANIFEST: true # lld-link: error: unable to find mt.exe in PATH: no such file or directory
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
||||
- job_name: 'Clang 9 (VS2015), Test'
|
||||
job_group: 'Test'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'WindowsTest'
|
||||
TOOLSET: clang-win
|
||||
TEST_TOOLSET: clang-win
|
||||
B2_DONT_EMBED_MANIFEST: true # lld-link: error: unable to find mt.exe in PATH: no such file or directory
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||
- job_name: 'Cygwin 3.4.6 x64, Test'
|
||||
job_group: 'TestCygwin'
|
||||
job_build: 'WindowsBuild'
|
||||
job_test: 'CygwinTest'
|
||||
TOOLSET: gcc
|
||||
TEST_TOOLSET: gcc
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
||||
B2_CXX_PATH: C:/cygwin64/bin
|
||||
|
||||
build_script:
|
||||
- cmd: |
|
||||
cd src/engine
|
||||
set PATH=%B2_CXX_PATH%;%PATH%
|
||||
- cmd: |
|
||||
./build.bat %TOOLSET%
|
||||
- cmd: |
|
||||
cd ../..
|
||||
src\engine\b2.exe -v
|
||||
- job_name: 'Xcode 14.3'
|
||||
job_build: 'XcodeBuild'
|
||||
job_test: 'XcodeTest'
|
||||
XCODE_APP: /Applications/Xcode_14.3.app
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
|
||||
|
||||
for:
|
||||
|
||||
- matrix:
|
||||
only:
|
||||
- job_group: 'Test'
|
||||
- job_test: 'WindowsBuild'
|
||||
build_script:
|
||||
- cmd: |
|
||||
cd src/engine
|
||||
set PATH=%B2_CXX_PATH%;%PATH%
|
||||
- cmd: |
|
||||
./build.bat %TOOLSET%
|
||||
- cmd: |
|
||||
cd ../..
|
||||
src\engine\b2.exe -v
|
||||
|
||||
- matrix:
|
||||
only:
|
||||
- job_test: 'WindowsTest'
|
||||
test_script:
|
||||
- cmd: |
|
||||
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
|
||||
@@ -96,3 +111,12 @@ for:
|
||||
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
|
||||
bootstrap.bat %TOOLSET%
|
||||
b2.exe --debug-configuration --prefix=./.b2 install toolset=%TEST_TOOLSET%
|
||||
|
||||
- matrix:
|
||||
only:
|
||||
- job_build: 'XcodeBuild'
|
||||
build_script:
|
||||
- bash: |
|
||||
set -e
|
||||
uname -a
|
||||
ls -laF /Applications
|
||||
|
||||
Reference in New Issue
Block a user