ci: enhance CI workflow and environment check script

This commit is contained in:
Huakun Shen 2025-01-07 01:25:35 -05:00
parent 636dfd87f8
commit 137647b6c6
No known key found for this signature in database
2 changed files with 8 additions and 3 deletions

View File

@ -34,7 +34,7 @@ jobs:
with:
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.
run: |
sudo apt-get update
@ -51,7 +51,7 @@ jobs:
run: |
sudo apt install -y protobuf-compiler
- uses: pnpm/action-setup@v4
- name: setup node
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
@ -76,7 +76,7 @@ jobs:
run: |
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
- name: Rust cache
- name: Rust Cache
uses: swatinem/rust-cache@v2
with:
workspaces: ". -> target"

View File

@ -20,6 +20,11 @@ if (process.platform === "win32") {
console.log(
`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_INCLUDE_DIR (${OPENSSL_INCLUDE_DIR}) Exists: ${fs.existsSync(OPENSSL_INCLUDE_DIR)}`