Skip to content

Commit

Permalink
set env variable for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
DaddyWesker committed Feb 27, 2025
1 parent ea34cf9 commit bbfb64b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,11 @@ jobs:
run: |
RUST_LOG=hyperon=debug cargo test
- name: Set RUST_LOG environment variable
if: ${{ startsWith(matrix.os, 'windows') }}
run: |
@set RUST_LOG=hyperon=debug
- name: Test Rust library Windows
if: ${{ startsWith(matrix.os, 'windows') }}
working-directory: ./lib
run: |
chcp 65001 #set code page to utf-8
echo ("RUST_LOG=hyperon=debug" >> $env:GITHUB_ENV
cargo test
- name: Install cbindgen
Expand Down

0 comments on commit bbfb64b

Please sign in to comment.