From 020d27d9be1049f1c582154324387c6a679a3b62 Mon Sep 17 00:00:00 2001 From: samuel40791765 Date: Tue, 10 Oct 2023 00:04:20 +0000 Subject: [PATCH] test github actions ecr pull --- .github/workflows/windows-sde.yml | 36 +++++++++++++++ .../github_ci_windows_x86_omnibus.yaml | 44 +++++++++---------- 2 files changed, 58 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/windows-sde.yml diff --git a/.github/workflows/windows-sde.yml b/.github/workflows/windows-sde.yml new file mode 100644 index 00000000000..4e690a10492 --- /dev/null +++ b/.github/workflows/windows-sde.yml @@ -0,0 +1,36 @@ +name: Windows SDE tests +on: + pull_request: + branches: [ '*' ] +env: + GOPROXY: https://proxy.golang.org,direct + SDE_MIRROR_URL: "https://downloadmirror.intel.com/777395/sde-external-9.21.1-2023-04-24-win.tar.xz" + SDE_VERSION_TAG: sde-external-9.21.1-2023-04-24-win + +jobs: + WindowSDETests: + runs-on: windows-2019 + steps: + # - name: Git clone the repository + # uses: actions/checkout@v3 + # - name: Build Windows Dependencies + # run: | + # choco install ninja --version 1.9.0.20190208 -y && + # choco install nasm --version 2.14.02 -y + - name: Install SDE simulator + run: | + curl -SL --output temp.tar.xz ${{ env.SDE_MIRROR_URL }} + 7z x temp.tar.xz + 7z x temp.tar + ren ${{ env.SDE_VERSION_TAG }} windows-sde + del temp.tar.xz + del temp.tar + echo ${PWD} + $sdepath = "\windows-sde" + echo ${sdepath} + $SDEROOT = $env.PWD + $sdepath + echo ${SDEROOT} + + # - name: Run Windows SDE Tests for x64 + # run: | + # .\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 true diff --git a/tests/ci/cdk/cdk/codebuild/github_ci_windows_x86_omnibus.yaml b/tests/ci/cdk/cdk/codebuild/github_ci_windows_x86_omnibus.yaml index 71b92bcd414..61a003b3fc6 100644 --- a/tests/ci/cdk/cdk/codebuild/github_ci_windows_x86_omnibus.yaml +++ b/tests/ci/cdk/cdk/codebuild/github_ci_windows_x86_omnibus.yaml @@ -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