Skip to content

Commit 03d44c8

Browse files
authored
Migrate Windows Omnibus to GitHub Workflow (#2780)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent 693ca26 commit 03d44c8

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: windows-omnibus
2+
on:
3+
push:
4+
branches: ["*"]
5+
pull_request:
6+
branches: ["*"]
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref_name }}
9+
cancel-in-progress: true
10+
env:
11+
GOPROXY: https://proxy.golang.org,direct
12+
permissions:
13+
contents: read
14+
jobs:
15+
windows2022_mscvc_compilers:
16+
name: windows-${{ matrix.image }}-x86_64
17+
runs-on:
18+
- codebuild-aws-lc-ci-github-actions-${{ github.run_id }}-${{ github.run_attempt }}
19+
image:windows-ec2-2022
20+
instance-size:large
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
include:
25+
- image: ltsc2022_vs2015
26+
envPath: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
27+
- image: ltsc2022_vs2017
28+
envPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat
29+
- image: ltsc2022_vs2019
30+
envPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat
31+
- image: ltsc2022_vs2022
32+
envPath: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat
33+
- image: ltsc2022_sde
34+
envPath: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat
35+
runSDE: true
36+
steps:
37+
- uses: actions/checkout@v5
38+
- name: Login to Amazon ECR
39+
id: login-ecr
40+
uses: aws-actions/amazon-ecr-login@v2
41+
- shell: pwsh
42+
run: >
43+
docker run
44+
-v ${{ github.workspace }}:${{ github.workspace }}
45+
-w ${{ github.workspace }}
46+
${{ steps.login-ecr.outputs.registry }}/aws-lc/windows:${{ matrix.image }}
47+
cmd /S /C call .\tests\ci\run_windows_tests.bat "${{ matrix.envPath }}" x64 ${{ matrix.runSDE || false }}

0 commit comments

Comments
 (0)