Skip to content

Commit

Permalink
ci(win): add PACT_LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Sep 5, 2024
1 parent 38c80dd commit 5f0e6c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ jobs:
- name: Test
if: matrix.os == 'ubuntu-latest'
run: APP_BRANCH=${APP_REF:11} DOCKER_GATEWAY_HOST=172.17.0.1 DOCKER_HOST_HTTP="http://172.17.0.1" make
- name: Set CGO_LDFLAGS / pact_ffi lib on PATH
- name: Set PACT_LD_LIBRARY_PATH
if: matrix.os == 'windows-latest'
run: |
"CGO_LDFLAGS=-L$env:TMP" >> $env:GITHUB_ENV
"$env:TMP" >> $env:GITHUB_PATH
"PACT_LD_LIBRARY_PATH=$env:TMP" >> $env:GITHUB_ENV
- name: Test (unit)
if: matrix.os != 'ubuntu-latest'
run: make test
Expand Down

0 comments on commit 5f0e6c4

Please sign in to comment.