Skip to content

Commit

Permalink
ci: add DLL locations to PATH (Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphlange committed Sep 3, 2024
1 parent 28bba3d commit 6384d11
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci-build-open62541-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
- name: Install MSVC dependencies
run: |
python .ci-local/install-msvc-deps.py
- name: Add DLL locations to PATH
run: |
"C:/Users/runneradmin/.cache/open62541/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
"C:/Users/runneradmin/.cache/libxml2-2.9.3/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
"C:/Users/runneradmin/.cache/iconv-1.14/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
- name: Build main module
run: python .ci/cue.py build
- name: Run main module tests
Expand Down Expand Up @@ -125,8 +130,12 @@ jobs:
run: |
python .ci/cue.py prepare
- name: Build main module
run: python .ci/cue.py build
run: |
export PATH=$PATH:/c/Users/runneradmin/.cache/open62541/bin
python .ci/cue.py build
- name: Run main module tests
run: python .ci/cue.py test
run: |
export PATH=$PATH:/c/Users/runneradmin/.cache/open62541/bin
python .ci/cue.py test
- name: Collect and show test results
run: python .ci/cue.py test-results
5 changes: 5 additions & 0 deletions .github/workflows/ci-build-uasdk-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
- name: Prepare build dependencies
run: |
python .ci/cue.py prepare
- name: Add DLL locations to PATH
run: |
"C:/Users/runneradmin/.source/sdk/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
"C:/Users/runneradmin/.source/sdk/third-party/win64/vs2015/libxml2/out32dll" | Out-File -FilePath $env:GITHUB_PATH -Append
"C:/Users/runneradmin/.source/sdk/third-party/win64/vs2015/openssl/out32dll" | Out-File -FilePath $env:GITHUB_PATH -Append
- name: Build main module
run: python .ci/cue.py build
- name: Run main module tests
Expand Down

0 comments on commit 6384d11

Please sign in to comment.