Skip to content

Commit 29471e4

Browse files
authored
upgrade libsodium for msys2 build environment (#1069)
* 更新msys2 环境下 libsodium 下载地址 * github cygwin and msys2 build environment with source code archive * 解决缓存 PHP 运行时不一致
1 parent f745f00 commit 29471e4

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/windows-cygwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ jobs:
6565
shell: C:\cygwin\bin\bash.EXE --noprofile --norc -e -o pipefail -o igncr {0}
6666
run: |
6767
bash ./sapi/scripts/cygwin/install-re2c.sh
68-
bash sapi/download-box/download-box-get-archive-from-server.sh
6968
7069
- name: install deps lib with source code
7170
shell: C:\cygwin\bin\bash.EXE --noprofile --norc -e -o pipefail -o igncr {0}
7271
run: |
72+
bash sapi/download-box/download-box-get-archive-from-server.sh
7373
bash ./sapi/scripts/msys2/install-libzip.sh
7474
bash ./sapi/scripts/msys2/install-libyuv.sh
7575
bash ./sapi/scripts/msys2/install-libavif.sh

.github/workflows/windows-msys2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
- name: install deps lib with source code
5353
shell: msys2 {0}
5454
run: |
55+
bash sapi/download-box/download-box-get-archive-from-server.sh
5556
bash ./sapi/scripts/msys2/install-deps-lib.sh
5657
5758
- name: Prepare

sapi/scripts/msys2/install-libsodium.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mkdir -p pool/lib/
1414
WORK_TEMP_DIR=${__PROJECT__}/var/msys2-build/
1515
mkdir -p ${WORK_TEMP_DIR}
1616

17-
VERSION=1.0.18
17+
VERSION=1.0.21
1818

1919
download() {
2020
# document https://doc.libsodium.org/

0 commit comments

Comments
 (0)