Skip to content

Commit a720473

Browse files
author
FEO\preus
committed
change paths; update package init
1 parent 0ebaef6 commit a720473

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build-package.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,21 @@ jobs:
4848
- name: extract ZIP on Unix
4949
if: ${{ runner.os == 'Linux' }}
5050
run: |
51-
unzip external_libs/linux.zip -d external_libs_unpacked
51+
unzip external_libs/linux.zip -d external_libs_unpacked/linux
5252
mkdir -p src/deterministic_gaussian_sampling/lib/linux/bin
53-
cp -r external_libs_unpacked/lib/* src/deterministic_gaussian_sampling/lib/linux/bin
53+
cp -r external_libs_unpacked/linux/lib/* src/deterministic_gaussian_sampling/lib/linux/bin
5454
5555
- name: extract ZIP on Windows
5656
if: ${{ runner.os == 'Windows' }}
5757
shell: pwsh
5858
run: |
59-
Expand-Archive -Path external_libs/windows.zip -DestinationPath external_libs_unpacked -Force
59+
Expand-Archive -Path external_libs/windows.zip -DestinationPath external_libs_unpacked\windows -Force
6060
New-Item -ItemType Directory -Path src\deterministic_gaussian_sampling\lib\windows\bin -Force
61-
Copy-Item external_libs_unpacked\bin\* src\deterministic_gaussian_sampling\lib\windows\bin -Recurse -Force
62-
63-
- name: install package
64-
run: pip install -e .
61+
Copy-Item external_libs_unpacked\windows\bin\* src\deterministic_gaussian_sampling\lib\windows\bin -Recurse -Force
6562
6663
- name: run tests
6764
run: |
65+
pip install -e .
6866
pip install --upgrade pip
6967
pip install pytest
7068
pytest -v

0 commit comments

Comments
 (0)