Skip to content

Commit

Permalink
test github actions ecr pull
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel40791765 committed Oct 10, 2023
1 parent 858c8c8 commit c4a9833
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 22 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/windows-sde.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Windows SDE tests
on:
pull_request:
branches: [ '*' ]
env:
GOPROXY: https://proxy.golang.org,direct
AWS_REGION: "us-west-2"

jobs:
WindowSDETests:
runs-on: windows-2019
steps:
- name: Git clone the repository
uses: actions/checkout@v3
# - name: Build Windows Docker Images
# run: |
# choco install ninja --version 1.9.0.20190208 -y &&
# choco install nasm --version 2.14.02 -y
- name: Run Windows Docker Image
run: |
ls "C:\Program Files (x86)\"
ls "C:\Program Files (x86)\Microsoft Visual Studio\Installer"
ls "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\"
- name: Run Windows SDE Tests for x64
run: |
.\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vcvarsall.bat" x64 true
44 changes: 22 additions & 22 deletions tests/ci/cdk/cdk/codebuild/github_ci_windows_x86_omnibus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ batch:
MSVC_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat'
ARCH_OPTION: x64

- identifier: windows_msvc2017_x64_sde
buildspec: ./tests/ci/codebuild/windows-x86/run_windows_target.yml
env:
type: WINDOWS_SERVER_2019_CONTAINER
privileged-mode: false
compute-type: BUILD_GENERAL1_LARGE
image: 620771051181.dkr.ecr.us-west-2.amazonaws.com/aws-lc-docker-images-windows-x86:vs2017_latest
variables:
MSVC_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat'
ARCH_OPTION: x64
RUN_SDE: true
# - identifier: windows_msvc2017_x64_sde
# buildspec: ./tests/ci/codebuild/windows-x86/run_windows_target.yml
# env:
# type: WINDOWS_SERVER_2019_CONTAINER
# privileged-mode: false
# compute-type: BUILD_GENERAL1_LARGE
# image: 620771051181.dkr.ecr.us-west-2.amazonaws.com/aws-lc-docker-images-windows-x86:vs2017_latest
# variables:
# MSVC_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat'
# ARCH_OPTION: x64
# RUN_SDE: true

- identifier: windows_msvc2017_x32_sde
buildspec: ./tests/ci/codebuild/windows-x86/run_windows_target.yml
env:
type: WINDOWS_SERVER_2019_CONTAINER
privileged-mode: false
compute-type: BUILD_GENERAL1_LARGE
image: 620771051181.dkr.ecr.us-west-2.amazonaws.com/aws-lc-docker-images-windows-x86:vs2017_latest
variables:
MSVC_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat'
ARCH_OPTION: x86
RUN_SDE: true
# - identifier: windows_msvc2017_x32_sde
# buildspec: ./tests/ci/codebuild/windows-x86/run_windows_target.yml
# env:
# type: WINDOWS_SERVER_2019_CONTAINER
# privileged-mode: false
# compute-type: BUILD_GENERAL1_LARGE
# image: 620771051181.dkr.ecr.us-west-2.amazonaws.com/aws-lc-docker-images-windows-x86:vs2017_latest
# variables:
# MSVC_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat'
# ARCH_OPTION: x86
# RUN_SDE: true

0 comments on commit c4a9833

Please sign in to comment.