ruki 4 years ago
parent
commit
88c5dfa928
2 changed files with 3 additions and 1 deletions
  1. 1 1
      .github/workflows/freebsd.yml
  2. 2 0
      .github/workflows/macos.yml

+ 1 - 1
.github/workflows/freebsd.yml

@@ -24,7 +24,7 @@ jobs:
         with:
           usesh: true
           mem: 4096
-          prepare: pkg install -y git curl unzip gmake llvm gsed bash perl5
+          prepare: pkg install -y git curl unzip gmake llvm gsed bash perl5 openssl
           run: |
             git clone --recurse-submodules https://github.com/xmake-io/xmake.git /tmp/xmake -b dev
             cd /tmp/xmake

+ 2 - 0
.github/workflows/macos.yml

@@ -21,5 +21,7 @@ jobs:
 
       - name: Tests
         run: |
+          wget https://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
+          export CURL_CA_BUNDLE=/tmp/cacert.pem
           xmake l ./scripts/test.lua -D -k ${{ matrix.kind }}