mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-07-25 16:58:40 +08:00
ci: update xmake repositories before builds
This commit is contained in:
@@ -108,6 +108,11 @@ jobs:
|
|||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.92.0
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.92.0
|
||||||
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
|
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
|
||||||
|
|
||||||
|
- name: Update xmake repositories
|
||||||
|
env:
|
||||||
|
XMAKE_GLOBALDIR: /data
|
||||||
|
run: xmake repo -u --root
|
||||||
|
|
||||||
- name: Build CrossDesk
|
- name: Build CrossDesk
|
||||||
env:
|
env:
|
||||||
CUDA_PATH: /usr/local/cuda
|
CUDA_PATH: /usr/local/cuda
|
||||||
@@ -197,6 +202,9 @@ jobs:
|
|||||||
- name: Install xmake
|
- name: Install xmake
|
||||||
run: brew install xmake
|
run: brew install xmake
|
||||||
|
|
||||||
|
- name: Update xmake repositories
|
||||||
|
run: xmake repo -u
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
@@ -283,6 +291,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
|
Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
|
||||||
echo "C:\Users\runneradmin\xmake" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
echo "C:\Users\runneradmin\xmake" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
|
xmake repo -u
|
||||||
xmake create cuda
|
xmake create cuda
|
||||||
Set-Location cuda
|
Set-Location cuda
|
||||||
xmake g --theme=plain
|
xmake g --theme=plain
|
||||||
|
|||||||
Reference in New Issue
Block a user