Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

completely tapping in the dark here #30

completely tapping in the dark here

completely tapping in the dark here #30

Workflow file for this run

name: Custom build
# This one is disabled by default and can be enabled/customized based on specific needs:
# create a branch, customize this for your branch (i.e. on.push.branches member) and push
# remember: our valhalla fork will have
on:
push:
branches:
- "cb-try-custom-build"
paths-ignore:
- "*.md"
- "*.sh"
jobs:
build_wheels:
name: Wheels - cp*, ${{ matrix.platform }}
runs-on: ${{ matrix.image }}
strategy:
matrix:
# TODO: re-enable other OSs
include:
- image: ubuntu-latest
platform: linux
# - image: macos-latest
# platform: macos
#- image: windows-latest
# platform: windows
steps:
- uses: actions/checkout@v2
- name: Configure Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
# keep in-sync with the other yaml
- name: Cache Conan (MacOS)
id: cache-conan
uses: actions/cache@v2
if: matrix.platform == 'macos'
with:
path: |
${{ github.workspace }}/conan_data
${{ github.workspace }}/conan_build
key: conan-${{ matrix.platform }}-${{ hashFiles('conanfile.txt') }}
restore-keys: |
conan-${{ matrix.platform }}-
- name: Install Conan (MacOS)
if: matrix.platform == 'macos' && steps.cache-conan.outputs.cache-hit != 'true'
run: |
pip install pip --upgrade
pip install conan
conan profile new default --detect
conan config set "storage.path=${{ github.workspace }}/conan_data"
conan install --install-folder ${{ github.workspace }}/conan_build --remote conancenter .
- name: Install Conan (Windows)
if: matrix.platform == 'windows'
run: |
pip install pip --upgrade
pip install conan
conan profile new default --detect
conan profile update "settings.compiler=Visual Studio" default
conan profile update "settings.compiler.version=16" default
conan config set "storage.path=$env:GITHUB_WORKSPACE/conan_data"
conan install --install-folder conan_build --remote conancenter .
- uses: pypa/[email protected]
env:
MACOSX_DEPLOYMENT_TARGET: 10.9
CIBW_BUILD: cp39* cp310*
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
path: wheelhouse/*.whl