Skip to content

Commit ab25fa0

Browse files
authored
修复 FreeBSD x86-64 目标构建失败的问题 (#107)
* Bump cross-platform-actions/action to v0.30.0 * Fix: Add ca_root_nss to FreeBSD package installation in build.yaml
1 parent 783c050 commit ab25fa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ jobs:
133133
cargo +nightly zigbuild --release --target "${{ matrix.target }}.${{ matrix.glibc-version }}"
134134
- name: Build (freebsd x86_64)
135135
if: ${{ contains(fromJSON('["x86_64"]'), matrix.arch) && matrix.os == 'freebsd' }}
136-
uses: cross-platform-actions/action@v0.29.0
136+
uses: cross-platform-actions/action@v0.30.0
137137
with:
138138
operating_system: freebsd
139139
architecture: ${{ matrix.arch }}
140140
version: '13.2'
141141
shell: bash
142142
run: |
143-
sudo pkg install -y llvm-devel curl
143+
sudo pkg install -y llvm-devel curl ca_root_nss
144144
curl --proto 'https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
145145
export CC=clang
146146
export CXX=clang++

0 commit comments

Comments
 (0)