Merge pull request #106 from SebMilardo/upstream-v1.14.0 #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main push | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check-platform-builds: | |
name: ${{ matrix.platform }} | |
runs-on: ${{ matrix.image }} | |
strategy: | |
fail-fast: true | |
matrix: | |
include: | |
- image: ubuntu-latest | |
platform: linux | |
- image: macos-13 | |
platform: macos-intel | |
- image: macos-14 | |
platform: macos-arm | |
- image: windows-latest | |
platform: windows | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Cache Conan | |
id: cache-conan | |
uses: actions/cache@v3 | |
if: matrix.platform == 'windows' | |
with: | |
path: | | |
conan_build | |
conan_data | |
key: conan-${{ matrix.image }}-${{ hashFiles('conanfile.txt') }} | |
- name: Configure Python | |
uses: actions/setup-python@v5 | |
if: matrix.platform == 'windows' && steps.cache-conan.outputs.cache-hit != 'true' | |
with: | |
python-version: '3.x' | |
- name: Install Conan | |
if: matrix.platform == 'windows' && steps.cache-conan.outputs.cache-hit != 'true' | |
run: | | |
pip install pip --upgrade | |
pip install conan<2.0.0 | |
conan profile new default --detect | |
conan profile update "settings.compiler=Visual Studio" default | |
conan profile update "settings.compiler.version=17" default | |
conan config set "storage.path=$env:GITHUB_WORKSPACE/conan_data" | |
conan install --build=openssl --install-folder conan_build . | |
- uses: pypa/[email protected] | |
env: | |
MACOSX_DEPLOYMENT_TARGET: 10.14 | |
CIBW_BUILD: '*cp39*' | |
- name: Verify clean directory | |
run: git diff --exit-code | |
shell: bash |