This commit is contained in:
Ross Scroggs 2025-04-18 15:53:24 -07:00
commit 677de0867b
No known key found for this signature in database
GPG Key ID: 54585EA0887857D5

View File

@ -39,65 +39,69 @@ jobs:
- os: ubuntu-22.04 - os: ubuntu-22.04
jid: 1 jid: 1
goal: build goal: build
openssl_archs: linux-x86_64 name: Build Intel Ubuntu Jammy
- os: ubuntu-24.04 - os: ubuntu-24.04
jid: 2 jid: 2
goal: build goal: build
openssl_archs: linux-x86_64 name: Build Intel Ubuntu Noble
- os: ubuntu-24.04-arm - os: ubuntu-24.04-arm
jid: 3 jid: 3
goal: build goal: build
openssl_archs: linux-aarch64 name: Build Arm Ubuntu Noble
- os: ubuntu-22.04-arm - os: ubuntu-22.04-arm
jid: 4 jid: 4
goal: build goal: build
openssl_archs: linux-aarch64 name: Build Arm Ubuntu Jammy
- os: ubuntu-22.04 - os: ubuntu-22.04
jid: 5 jid: 5
goal: build goal: build
openssl_archs: linux-x86_64
staticx: yes staticx: yes
name: Build Intel StaticX Legacy
- os: ubuntu-22.04-arm - os: ubuntu-22.04-arm
jid: 6 jid: 6
goal: build goal: build
openssl_archs: linux-aarch64
staticx: yes staticx: yes
name: Build Arm StaticX Legacy
- os: macos-13 - os: macos-13
jid: 7 jid: 7
goal: build goal: build
openssl_archs: darwin64-x86_64 name: Build Intel MacOS
- os: macos-14 - os: macos-14
jid: 8 jid: 8
goal: build goal: build
openssl_archs: darwin64-arm64 name: Build Arm MacOS 14
- os: macos-15 - os: macos-15
jid: 9 jid: 9
goal: build goal: build
openssl_archs: darwin64-arm64 name: Build Arm MacOS 15
- os: windows-2022 - os: windows-2022
jid: 10 jid: 10
goal: build goal: build
openssl_archs: VC-WIN64A name: Build Intel Windows
- os: windows-11-arm - os: windows-11-arm
jid: 11 jid: 11
goal: build goal: build
openssl_archs: VC-WIN64-ARM name: Build Arm Windows
- os: ubuntu-24.04 - os: ubuntu-24.04
goal: test goal: test
python: "3.10" python: "3.10"
jid: 12 jid: 12
name: Test Python 3.10
- os: ubuntu-24.04 - os: ubuntu-24.04
goal: test goal: test
python: "3.11" python: "3.11"
jid: 13 jid: 13
name: Test Python 3.11
- os: ubuntu-24.04 - os: ubuntu-24.04
goal: test goal: test
python: "3.12" python: "3.12"
jid: 14 jid: 14
name: Test Python 3.12
- os: ubuntu-24.04 - os: ubuntu-24.04
goal: test goal: test
python: "3.14-dev" python: "3.14-dev"
jid: 15 jid: 15
name: Test Python 3.14-dev
steps: steps:
@ -225,7 +229,6 @@ jobs:
- name: Set Env Variables for build - name: Set Env Variables for build
if: matrix.goal == 'build' if: matrix.goal == 'build'
env: env:
openssl_archs: ${{ matrix.openssl_archs }}
staticx: ${{ matrix.staticx }} staticx: ${{ matrix.staticx }}
run: | run: |
echo "We are running on ${RUNNER_OS}" echo "We are running on ${RUNNER_OS}"
@ -270,7 +273,6 @@ jobs:
echo "MAKEOPT=${MAKEOPT}" >> $GITHUB_ENV echo "MAKEOPT=${MAKEOPT}" >> $GITHUB_ENV
echo "PERL=${PERL}" >> $GITHUB_ENV echo "PERL=${PERL}" >> $GITHUB_ENV
echo "PYEXTERNALS_PATH=${PYEXTERNALS_PATH}" >> $GITHUB_ENV echo "PYEXTERNALS_PATH=${PYEXTERNALS_PATH}" >> $GITHUB_ENV
echo "openssl_archs=${openssl_archs}" >> $GITHUB_ENV
- name: Get latest stable OpenSSL source - name: Get latest stable OpenSSL source
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true' if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'
@ -298,7 +300,7 @@ jobs:
export CFLAGS=-DNO_INTERLOCKEDOR64 export CFLAGS=-DNO_INTERLOCKEDOR64
fi fi
# --libdir=lib is needed so Python can find OpenSSL libraries # --libdir=lib is needed so Python can find OpenSSL libraries
"${PERL}" ./Configure "${openssl_arch}" --libdir=lib --prefix="${OPENSSL_INSTALL_PATH}" $OPENSSL_CONFIG_OPTS "${PERL}" ./Configure --libdir=lib --prefix="${OPENSSL_INSTALL_PATH}" $OPENSSL_CONFIG_OPTS
- name: Rename GNU link on Windows - name: Rename GNU link on Windows
if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true' if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'