mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-20 13:39:15 +00:00
ci: enhance CI workflow and environment check script
This commit is contained in:
parent
636dfd87f8
commit
137647b6c6
6
.github/workflows/desktop-publish.yml
vendored
6
.github/workflows/desktop-publish.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: "true"
|
submodules: "true"
|
||||||
|
|
||||||
- name: install dependencies (ubuntu only)
|
- name: Install Dependencies (ubuntu only)
|
||||||
if: matrix.settings.platform == 'ubuntu-22.04' # This must match the platform value defined above.
|
if: matrix.settings.platform == 'ubuntu-22.04' # This must match the platform value defined above.
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@ -51,7 +51,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt install -y protobuf-compiler
|
sudo apt install -y protobuf-compiler
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
- name: setup node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
@ -76,7 +76,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rustup target add aarch64-apple-darwin
|
rustup target add aarch64-apple-darwin
|
||||||
rustup target add x86_64-apple-darwin
|
rustup target add x86_64-apple-darwin
|
||||||
- name: Rust cache
|
- name: Rust Cache
|
||||||
uses: swatinem/rust-cache@v2
|
uses: swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
workspaces: ". -> target"
|
workspaces: ". -> target"
|
||||||
|
@ -20,6 +20,11 @@ if (process.platform === "win32") {
|
|||||||
console.log(
|
console.log(
|
||||||
`Program Files Directory (${programFilesDir}) Exists: ${fs.existsSync(programFilesDir)}`
|
`Program Files Directory (${programFilesDir}) Exists: ${fs.existsSync(programFilesDir)}`
|
||||||
)
|
)
|
||||||
|
console.log("Program Files Directory Contents:")
|
||||||
|
for (const dir of fs.readdirSync(programFilesDir)) {
|
||||||
|
console.log(dir)
|
||||||
|
}
|
||||||
|
|
||||||
console.log(`OPENSSL_DIR (${OPENSSL_DIR}) Exists: ${fs.existsSync(OPENSSL_DIR)}`)
|
console.log(`OPENSSL_DIR (${OPENSSL_DIR}) Exists: ${fs.existsSync(OPENSSL_DIR)}`)
|
||||||
console.log(
|
console.log(
|
||||||
`OPENSSL_INCLUDE_DIR (${OPENSSL_INCLUDE_DIR}) Exists: ${fs.existsSync(OPENSSL_INCLUDE_DIR)}`
|
`OPENSSL_INCLUDE_DIR (${OPENSSL_INCLUDE_DIR}) Exists: ${fs.existsSync(OPENSSL_INCLUDE_DIR)}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user