Skip to content

patch ssl to use certifi cacerts #4

patch ssl to use certifi cacerts

patch ssl to use certifi cacerts #4

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- portable-python
workflow_dispatch:
inputs:
verbose:
required: false
type: boolean
jobs:
tests:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [macos-latest]
python-version: [3.8.18, 3.9.18, 3.10.13]
name: python-${{ matrix.python-version }}-${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: 3.13.5
- name: Install tools
run: |
brew install gpatch
- name: Build
run: |
mkdir -p python-build && mkdir -p python-install
cd python-build
cmake \
${{ inputs.verbose && '--trace-expand --debug-find' || '' }} \
-DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}/python-install \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
-DCMAKE_C_STANDARD=99 \
-DPYTHON_VERSION=${{ matrix.python-version }} \
..
make -j4
make install
- name: Check sysconfig
run: |
./python-install/bin/python -m sysconfig
- name: Test
run: |
./python-install/bin/python -m test || true