Skip to content

Commit

Permalink
add: make dylib复制cygwin dll到artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangYyang committed Jul 25, 2023
1 parent 67c144c commit 564e5ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/make-dylib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ jobs:
MTFMT_BUILD_TARGET_NAME: "mtfmt_win_${{ matrix.platform }}"
MTFMT_BUILD_LIB_EXT: ".lib"
MTFMT_BUILD_DYLIB_EXT: ".dll"
# 因为cygwin要1个dll...所以把它copy过去一起放到存档里
- name: Copy cygwin dlls
run: |
copy C:\tools\cygwin\bin\cygwin1.dll target/
# 打包
- name: Upload artifact
if: github.ref == 'refs/heads/master'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
MTFMT_BUILD_TARGET_NAME: "mtfmt_${{ matrix.os }}_${{ matrix.arch }}"
MTFMT_BUILD_EXEFILE_EXT: ".exe"
# 因为cygwin要1个dll...所以把它copy过去一起放到存档里
- name: Copy dlls
- name: Copy cygwin dlls
run: |
copy C:\tools\cygwin\bin\cygwin1.dll target/
# 打包
Expand Down

0 comments on commit 564e5ea

Please sign in to comment.