mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
simplify win64 artifact generation
This commit is contained in:
parent
43bc470fe0
commit
5be3f19e1d
27
.github/workflows/windows-artifacts.yml
vendored
27
.github/workflows/windows-artifacts.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: mingw64 {0}
|
shell: msys2 {0}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
|
||||||
- uses: msys2/setup-msys2@v2
|
- uses: msys2/setup-msys2@v2
|
||||||
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: display versions
|
- name: display versions
|
||||||
run: |
|
run: |
|
||||||
make -v
|
make -v
|
||||||
gcc -v
|
cc -v
|
||||||
|
|
||||||
- name: Building zlib to static link
|
- name: Building zlib to static link
|
||||||
run: |
|
run: |
|
||||||
@ -37,31 +37,10 @@ jobs:
|
|||||||
- name: Create artifacts
|
- name: Create artifacts
|
||||||
run: |
|
run: |
|
||||||
./lib/dll/example/build_package.bat
|
./lib/dll/example/build_package.bat
|
||||||
make clean
|
cd bin/
|
||||||
mkdir -p bin/
|
|
||||||
make -j -C programs zstd DEBUGFLAGS=
|
|
||||||
cp programs/zstd.exe bin/zstd.exe
|
|
||||||
git clone --depth 1 --branch release https://github.com/facebook/zstd zstd_release
|
|
||||||
cd zstd_release
|
|
||||||
git archive --format=tar release -o zstd-src.tar
|
|
||||||
../programs/zstd -19 zstd-src.tar
|
|
||||||
sha256sum zstd-src.tar.zst > zstd-src.tar.zst.sha256.sig
|
|
||||||
cd ../bin/
|
|
||||||
7z a -tzip -mx9 zstd-win-release-win64.zip *
|
7z a -tzip -mx9 zstd-win-release-win64.zip *
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Publish zstd-src.tar.zst Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
path: ${{ github.workspace }}/zstd_release/zstd-src.tar.zst
|
|
||||||
name: zstd-src.tar.zst
|
|
||||||
|
|
||||||
- name: Publish zstd-src.tar.zst signature
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
path: ${{ github.workspace }}/zstd_release/zstd-src.tar.zst.sha256.sig
|
|
||||||
name: zstd-src.tar.zst.sha256.sig
|
|
||||||
|
|
||||||
- name: Publish zstd-win-release-win64.zip
|
- name: Publish zstd-win-release-win64.zip
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user