]> git.cameronkatri.com Git - ldid.git/blobdiff - .github/workflows/build.yml
Use OpenSSL 1.1.1 in GH actions for now
[ldid.git] / .github / workflows / build.yml
index 7e5090e7d44467fe681f05db3fc5634c72e87b5c..6315017bae0d5a71ee08db3c71c0f7505fc97a0a 100644 (file)
@@ -19,7 +19,7 @@ on:
 
 env:
   LIBPLIST_VERSION: 2.2.0
-  OPENSSL_VERSION: 3.0.1
+  OPENSSL_VERSION: 1.1.1n
   SCCACHE_VERSION: 0.2.15
 
 jobs:
@@ -28,10 +28,7 @@ jobs:
     strategy:
       matrix:
         triple:
-        - arm-linux-musleabi
         - aarch64-linux-musl
-        - i486-linux-musl
-        - riscv64-linux-musl
         - x86_64-linux-musl
     env:
       TOOLCHAIN: ${{ matrix.triple }}-cross
@@ -96,22 +93,11 @@ jobs:
     - name: build openssl
       run: |
         export PLATFORM="linux-${ARCH}"
-        case ${ARCH} in
-          arm)
-            export PLATFORM="linux-generic32"
-            ;;
-          i486)
-            export PLATFORM="linux-x86"
-            ;;
-          riscv64)
-            export PLATFORM="linux64-riscv64"
-            ;;
-        esac
 
         wget -q -nc -P ${DOWNLOAD_PATH} https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
         tar xf ${DOWNLOAD_PATH}/openssl-${OPENSSL_VERSION}.tar.gz -C ${DEP_PATH}
         cd ${DEP_PATH}/openssl-${OPENSSL_VERSION}
-        ./config --prefix=/usr --static -static ${PLATFORM}
+        ./Configure --prefix=/usr --static -static ${PLATFORM}
         make -j$(nproc) build_generated libcrypto.a
 
         echo "CPPFLAGS=${CPPFLAGS} -I${DEP_PATH}/openssl-${OPENSSL_VERSION}/include" >> $GITHUB_ENV
@@ -210,7 +196,7 @@ jobs:
         wget -q -nc -P ${DOWNLOAD_PATH} https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
         tar xf ${DOWNLOAD_PATH}/openssl-${OPENSSL_VERSION}.tar.gz -C ${DEP_PATH}
         cd ${DEP_PATH}/openssl-${OPENSSL_VERSION}
-        ./config --prefix=/usr no-shared darwin64-${ARCH}
+        ./Configure --prefix=/usr no-shared darwin64-${ARCH}-cc
         make -j$(sysctl -n hw.ncpu) build_generated libcrypto.a
 
         echo "CFLAGS=${CFLAGS} -I${DEP_PATH}/openssl-${OPENSSL_VERSION}/include" >> $GITHUB_ENV