Skip to content

Commit 89a16e4

Browse files
authored
Merge pull request #63 from mdavidsaver/vs2022
Add vs2022
2 parents 93062ba + f7e21c7 commit 89a16e4

10 files changed

Lines changed: 51 additions & 25 deletions

File tree

.appveyor.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,21 @@ environment:
7272
VV: 1
7373

7474
matrix:
75-
- CMP: vs2019
75+
- CMP: vs2022
7676
SET: test00
77-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
77+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
7878
- CMP: gcc
79-
- CMP: vs2019
79+
- CMP: vs2022
8080
VV: 0
81-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
82-
- CMP: vs2019
81+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
82+
- CMP: vs2022
8383
BASE: 3.15
8484
CLEAN_DEPS: NO
85-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
86-
- CMP: vs2019
85+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
86+
- CMP: vs2022
8787
BASE: 3.14
88+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
89+
- CMP: vs2019
8890
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
8991
- CMP: vs2017
9092
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017

.github/workflows/build-and-test.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04, windows-2019, windows-2016, macos-10.15]
22+
os: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04, windows-2022, windows-2019, windows-2016, macos-10.15]
2323
steps:
2424
- uses: actions/checkout@v2
2525
- name: Show initial environment
@@ -113,12 +113,22 @@ jobs:
113113
strategy:
114114
fail-fast: false
115115
matrix:
116-
os: [windows-2019, windows-2016]
117-
cmp: [gcc, vs2019, vs2017]
116+
os: [windows-2022, windows-2019, windows-2016]
117+
cmp: [gcc, vs2022, vs2019, vs2017]
118118
configuration: [default, static, debug, static-debug]
119119
exclude:
120+
- os: windows-2022
121+
cmp: vs2019
122+
- os: windows-2022
123+
cmp: vs2017
124+
125+
- os: windows-2019
126+
cmp: vs2022
120127
- os: windows-2019
121128
cmp: vs2017
129+
130+
- os: windows-2016
131+
cmp: vs2022
122132
- os: windows-2016
123133
cmp: vs2019
124134
steps:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ levels as the example files.
5050
the module can be patched or further configured.
5151

5252
- Define shared (default) or static builds (for executables and libraries).
53-
53+
5454
- Define optimized (default) or debug builds.
5555

5656
- Run tests (using the EPICS build system, i.e., `make runtests`
@@ -76,7 +76,7 @@ and limitations.
7676
- Cross-compile for RTEMS 4.9 and 4.10 (pc386, Base >= 3.15)
7777
- Cross-compile for RTEMS 5 (10 BSPs, Base >= 7.0.5.1)
7878
- Built dependencies are cached (for faster builds).
79-
79+
8080
See specific
8181
**[ci-scripts on Travis-CI README](travis/README.md)**
8282
for more details.
@@ -85,7 +85,7 @@ for more details.
8585
- One parallel runner (all builds are sequential)
8686
- Windows Server 2012/2016/2019
8787
- Compile using gcc/MinGW or different Visual Studio versions: \
88-
2010, 2012, 2013, 2015, 2017, 2019
88+
2010, 2012, 2013, 2015, 2017, 2019, 2022
8989
- Compile for Windows 32bit and 64bit
9090
- No useful caching available.
9191

@@ -95,10 +95,10 @@ for more details.
9595

9696
### [GitHub Actions](https://github.com/)
9797
- 20 parallel runners on Linux/Windows (5 runners on MacOS)
98-
- Ubuntu 16/18/20, MacOS 10.15, Windows Server 2016/2019
98+
- Ubuntu 16/18/20, MacOS 10.15, Windows Server 2016/2019/2022
9999
- Compile natively on Linux (gcc, clang)
100100
- Compile natively on MacOS (clang)
101-
- Compile natively on Windows (gcc/MinGW, Visual Studio 2017 & 2019)
101+
- Compile natively on Windows (gcc/MinGW, Visual Studio 2017/2019/2022)
102102
- Cross-compile for Windows 32bit and 64bit using MinGW and WINE
103103
- Cross-compile for RTEMS 4.9 and 4.10 (pc386, Base >= 3.15)
104104
- Cross-compile for RTEMS 5 (10 BSPs, Base >= 7.0.5.1)
@@ -112,7 +112,7 @@ for more details.
112112

113113
- Docker-based runners on Linux (one VM instance per job)
114114
- Can use any Docker image from Dockerhub (the examples use
115-
`ubuntu:bionic`)
115+
`ubuntu:bionic`)
116116
- Compile natively using different compilers (gcc, clang)
117117
- Cross-compile for Windows 32bit and 64bit using MinGW and WINE
118118
- Cross-compile for RTEMS 4.9 and 4.10 (pc386, Base >= 3.15)

appveyor/.appveyor.yml.example-full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ environment:
9292
BASE: 7.0
9393

9494
matrix:
95-
- CMP: vs2019
96-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
95+
- CMP: vs2022
96+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
9797
- CMP: gcc
9898
- CMP: vs2019
9999
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019

appveyor/.appveyor.yml.example-mini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ skip_commits:
2020
install:
2121
- cmd: git submodule update --init --recursive
2222

23-
image: Visual Studio 2019
23+
image: Visual Studio 2022
2424

2525
# Build Configurations: shared/static, optimized/debug
2626
configuration:
@@ -34,9 +34,9 @@ environment:
3434
SETUP_PATH: .ci-local:.ci
3535

3636
matrix:
37-
- CMP: vs2019
37+
- CMP: vs2022
3838
BASE: 7.0
39-
- CMP: vs2019
39+
- CMP: vs2022
4040
BASE: 3.15
4141

4242
# Platform: processor architecture

appveyor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- One parallel runner (all builds are sequential)
66
- Windows Server 2012/2016/2019
77
- Compile using gcc/MinGW or different Visual Studio versions: \
8-
2010, 2012, 2013, 2015, 2017, 2019
8+
2010, 2012, 2013, 2015, 2017, 2019, 2022
99
- Compile for Windows 32bit and 64bit
1010
- No useful caching available.
1111

@@ -46,7 +46,7 @@
4646
List of environment variable settings. Each list element (starting with
4747
a dash) is one step on the axis of the build matrix. \
4848
Set `CMP` to select the compiler: `gcc` for the native
49-
[MinGW](http://mingw-w64.org/) GNU compiler, `vs2010` ...`vs2019`
49+
[MinGW](http://mingw-w64.org/) GNU compiler, `vs2010` ...`vs2022`
5050
(options listed above) for the Microsoft Visual Studio compilers.
5151
5252
Your builds will take long. \

cue-test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,10 @@ def test_vcvars(self):
349349
os.environ['CONFIGURATION'] = 'default'
350350
if ci_service == 'github-actions' and os.environ['IMAGEOS'] == 'win16':
351351
os.environ['CMP'] = 'vs2017'
352-
else:
352+
elif ci_service == 'github-actions' and os.environ['IMAGEOS'] == 'win19':
353353
os.environ['CMP'] = 'vs2019'
354+
else:
355+
os.environ['CMP'] = 'vs2022'
354356
cue.detect_context()
355357
cue.with_vcvars('env')
356358

cue.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ def __exit__(self,A,B,C):
266266

267267
vcvars_table = {
268268
# https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History
269+
'vs2022': [r'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat',
270+
r'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat'],
269271
'vs2019': [r'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat',
270272
r'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat'],
271273
'vs2017': [r'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat',

github-actions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- Ubuntu 16/18/20, MacOS 10.15, Windows Server 2016/2019
77
- Compile natively on Linux (gcc, clang)
88
- Compile natively on MacOS (clang)
9-
- Compile natively on Windows (gcc/MinGW, Visual Studio 2017 & 2019)
9+
- Compile natively on Windows (gcc/MinGW, Visual Studio 2017/2019/2022)
1010
- Cross-compile for Windows 32bit and 64bit using MinGW and WINE
1111
- Cross-compile for RTEMS 4.9 and 4.10 (pc386, Base >= 3.15)
1212
- Cross-compile for RTEMS 5 (10 BSPs, Base >= 7.0.5.1)

github-actions/ci-scripts-build.yml.example-full

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,16 @@ jobs:
166166
configuration: static
167167
name: "Win2019 MSC-19, static"
168168

169+
- os: windows-2022
170+
cmp: vs2022
171+
configuration: default
172+
name: "Win2022 MSC-22"
173+
174+
- os: windows-2022
175+
cmp: vs2022
176+
configuration: static
177+
name: "Win2022 MSC-22, static"
178+
169179
steps:
170180
- uses: actions/checkout@v2
171181
with:

0 commit comments

Comments
 (0)