Skip to content

Commit

Permalink
[wip] Windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbrunet committed May 28, 2022
1 parent c31d85b commit 01ee3db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,16 @@ jobs:
&& cmake --build . --config Release
&& cmake --install .

# ZIP
- name: Zip production
run: Compress-Archive -LiteralPath "$($env:SOFA_ROOT)/plugins/SofaCaribou" -DestinationPath SofaCaribou.zip

# ARCHIVE
- name: Archive production
uses: actions/upload-artifact@v2
with:
name: caribou_win64_${{ matrix.sofa_version }}
path: ${{github.workspace}}/sofa/plugins/SofaCaribou
path: SofaCaribou.zip

test:
name: Testing with ${{ matrix.sofa_version }}
Expand Down Expand Up @@ -215,7 +219,9 @@ jobs:
uses: actions/download-artifact@v2
with:
name: caribou_win64_${{ matrix.sofa_version }}
path: ${{ format('{0}/sofa/plugins/SofaCaribou', github.workspace) }}
path: SofaCaribou.zip
- name: Install caribou
run: Expand-Archive -LiteralPath SofaCaribou.zip -DestinationPath "${$env:CARIBOU_ROOT}"

- name: Caribou.unittests.Geometry
if: ${{ always() }}
Expand Down

0 comments on commit 01ee3db

Please sign in to comment.