Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
张传菲 committed Mar 18, 2024
1 parent 97b26f8 commit 5de636f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5de636f

Please sign in to comment.