Skip to content

Commit f7c47eb

Browse files
committed
fix packaging
1 parent c7ce357 commit f7c47eb

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: setup windows deps
4848
if: matrix.os == 'windows-latest'
4949
run: |
50-
echo "local_short_commands=false" >> $GITHUB_ENV
50+
echo "local_short_commands=true" >> $GITHUB_ENV
5151
git submodule init && git submodule update
5252
curl -O "http://msp.ucsd.edu/Software/$PDVERSION.msw.zip"
5353
unzip "$PDVERSION.msw.zip"
@@ -65,8 +65,16 @@ jobs:
6565
run: make pdbinpath="$PDVERSION/bin" PDINCLUDEDIR="$PDVERSION/src" CFLAGS=-march=x86-64
6666

6767
# ---- package ----
68-
- name: package
68+
- name: package (unix)
69+
if: matrix.os != 'windows-latest'
6970
run: make install PDLIBDIR="${{ matrix.os }}"
71+
- name: package (windows)
72+
if: matrix.os == 'windows-latest'
73+
run: |
74+
bash scripts/package_lib.sh
75+
ls -la
76+
mkdir -p "${{ matrix.os }}"
77+
mv fd_lib "${{ matrix.os }}/"
7078
7179
- name: upload artifact
7280
uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)