Skip to content

Commit

Permalink
Windows: Give up on setting path and try copying the DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
madmann91 authored Jun 26, 2021
1 parent 0796086 commit d42de0a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ jobs:
- name: Build Artic
run: cmake --build ${{github.workspace}}/artic/build --config ${{matrix.build-type}}

# Set the Thorin DLL path for Windows
- name: Set path to Thorin (Windows only)
# Copy the Thorin DLL for Windows (when it exists)
- name: Copy Thorin DLL (Windows only)
if: startsWith(matrix.os, 'windows')
run: echo "${{github.workspace}}/thorin/build/bin/${{matrix.build-type}}" >> $GITHUB_PATH

- name: Show current path
run: echo "$PATH"
continue-on-error: true
run: >
cmake -E copy
"${{github.workspace}}/thorin/build/bin/${{matrix.build-type}}/thorin.dll"
"${{github.workspace}}/artic/build/bin/${{matrix.build-type}}/thorin.dll"
- name: Test Artic
working-directory: ${{github.workspace}}/artic/build
Expand Down

0 comments on commit d42de0a

Please sign in to comment.