From 5de636f799e25e9f3c4c32de13c71f3c2f434515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E8=8F=B2?= Date: Mon, 18 Mar 2024 15:49:24 +0800 Subject: [PATCH] test --- .github/workflows/container.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index e55840d4..e36337dd 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -124,15 +124,16 @@ jobs: go-version: 'stable' - - name: Add environment variables + - name: Building Windows Package shell: pwsh run: |- Rename-Item -Path 'D:\a\gt\gt\libcs\dep\_google-webrtc\src\third_party\llvm-build\Release+Asserts.win' -NewName 'D:\a\gt\gt\libcs\dep\_google-webrtc\src\third_party\llvm-build\Release+Asserts' Get-ChildItem -Path 'D:\a\gt\gt\libcs\dep\_google-webrtc\src\third_party\llvm-build\' Get-ChildItem -Path 'D:\a\gt\gt\libcs\dep\_google-webrtc\src\third_party\llvm-build\Release+Asserts\' Invoke-WebRequest -Uri 'https://chrome-infra-packages.appspot.com/dl/gn/gn/windows-amd64/+/latest' -OutFile '.\gn-windows-amd64.zip' - Expand-Archive -Path '.\gn-windows-amd64.zip' -DestinationPath 'D:\a\gt\gt\libcs\dep\_google-webrtc\src\third_party\llvm-build\Release+Asserts\bin' - + Expand-Archive -Path '.\gn-windows-amd64.zip' -DestinationPath 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja' + Get-ChildItem -Path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\' + echo "-----------------Register environment variables------------------------" $ninjaPath = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja" # $clangPath = "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\bin" @@ -161,12 +162,15 @@ jobs: $env:INCLUDE = ($includePaths -join ";") $env:LIB = ($libPaths -join ";") - - name: Building Windows Package - shell: pwsh - run: |- $env:Path echo "-----------------------Compilation package---------------------" & '.\build.ps1' + # - name: Building Windows Package + # shell: pwsh + # run: |- + # $env:Path + # echo "-----------------------Compilation package---------------------" + # & '.\build.ps1' - name: Archive GT artifacts uses: actions/upload-artifact@v3