Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Jul 30, 2024
1 parent cbb302c commit 8c97cbf
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
netbsd-version: ['10.0', '9.4', '9.3', '9.2']

steps:
- run: curl -LO https://curl.se/ca/cacert.pem

- uses: actions/checkout@v4

- uses: cross-platform-actions/action@v0.25.0
Expand All @@ -35,19 +37,9 @@ jobs:
run cmake --build build.d
run cmake --install build.d
export SSL_CERT_FILE="$PWD/cacert.pem"
export LD_LIBRARY_PATH=/usr/pkg/lib
run sudo rm -rf /usr/pkg/etc/openssl
run sudo pkgin -y install mozilla-rootcerts
run sudo mozilla-rootcerts install
if [ ${{matrix.version}} -eq 8 ] ; then
export SSL_CERT_FILE=/usr/pkg/etc/openssl/certs/ca-certificates.crt
else
export SSL_CERT_FILE=/etc/openssl/certs/ca-certificates.crt
fi
run ./output/bin/uppm
run ./output/bin/uppm --help
Expand Down

0 comments on commit 8c97cbf

Please sign in to comment.