Skip to content

Commit bf1f567

Browse files
committed
[ci] Do not setup Vulkan SDK
1 parent 19672cc commit bf1f567

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/scripts/common-utils.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function UnsetGitCachingProxy {
22
Write-Host "Unsetting git caching proxy"
3-
git config --global --unset https.proxy
3+
git config --global --unset https.proxy || true
44
# git config --global --list | Select-String 'url\.' | ForEach-Object {
55
# $key = $_ -split '=' | Select-Object -First 1
66
# git config --global --unset-all $key
@@ -11,7 +11,7 @@ function SetGitCachingProxy {
1111
Write-Host "Setting up git caching proxy"
1212
# git config --global --add "url.http://oauth2:${env:GITHUB_TOKEN}@git-cdn-github.botmaster.tgr/.insteadOf" https://github.com/
1313
# git config --global --add "url.http://oauth2:${env:GITHUB_TOKEN}@git-cdn-github.botmaster.tgr/.insteadOf" git@github.com:
14-
git config --global https.proxy http://proxy.tgr:18000
14+
git config --global https.proxy http://proxy.tgr:18000 || true
1515
}
1616

1717
if($env:TI_USE_GIT_CACHE) {

.github/workflows/scripts/common-utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ set -x
55
function unset-git-caching-proxy {
66
echo "Unsetting git caching proxy"
77
# git config --global --list | grep 'url\.' | cut -d'=' -f1 | xargs -L1 git config --global --unset-all || true
8-
git config --global --unset https.proxy
8+
git config --global --unset https.proxy || true
99
}
1010

1111
function set-git-caching-proxy {
1212
trap unset-git-caching-proxy EXIT
1313
echo "Setting git caching proxy"
1414
# git config --global --add url.http://oauth2:$GITHUB_TOKEN@git-cdn-github.botmaster.tgr/.insteadOf https://github.com/
1515
# git config --global --add url.http://oauth2:$GITHUB_TOKEN@git-cdn-github.botmaster.tgr/.insteadOf git@github.com:
16-
git config --global https.proxy http://proxy.tgr:18000
16+
git config --global https.proxy http://proxy.tgr:18000 || true
1717
}
1818

1919
if [ ! -z "$TI_USE_GIT_CACHE" ]; then

.github/workflows/scripts/ti_build/entry.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
from .python import get_desired_python_version, setup_python
2323
from .sccache import setup_sccache
2424
from .tinysh import Command, CommandFailed, git, nice
25-
from .vulkan import setup_vulkan
25+
26+
# from .vulkan import setup_vulkan
2627

2728

2829
# -- code --
@@ -81,7 +82,7 @@ def setup_basic_build_env():
8182
setup_clang()
8283

8384
setup_llvm()
84-
setup_vulkan()
85+
# setup_vulkan()
8586

8687
sccache = setup_sccache()
8788

0 commit comments

Comments
 (0)