Skip to content

Commit

Permalink
Set environment variables for HDF5
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Apr 4, 2024
1 parent bb36f08 commit 34af5da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
run: |
.\vcpkg\vcpkg install hdf5:x64-windows
shell: cmd
- name: Set environment variables for HDF5
run: |
$vcpkg_installed_x64_windows = "$env:GITHUB_WORKSPACE\vcpkg\installed\x64-windows"
echo "HDF5_DIR=$vcpkg_installed_x64_windows" | Out-File -Append -Encoding utf8 $env:GITHUB_ENV
echo "VCPKG_ROOT=$env:GITHUB_WORKSPACE\vcpkg" | Out-File -Append -Encoding utf8 $env:GITHUB_ENV
$path = "$env:PATH;$vcpkg_installed_x64_windows\bin"
echo "PATH=$path" | Out-File -Append -Encoding utf8 $env:GITHUB_ENV
shell: pwsh
- uses: Swatinem/rust-cache@v2
- name: Install Rust dependencies
run: |
Expand Down

0 comments on commit 34af5da

Please sign in to comment.