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

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstnbwnkl committed Jun 21, 2024
1 parent ac92d72 commit ca14526
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/custom_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ name: Custom build
on:
push:
branches:
- 'custom_eclever'
- "cb-try-custom-build"
paths-ignore:
- '*.md'
- '*.sh'
- "*.md"
- "*.sh"

jobs:
build_wheels:
Expand All @@ -23,57 +23,57 @@ jobs:
include:
- image: ubuntu-latest
platform: linux
# - image: macos-latest
# platform: macos
#- image: windows-latest
# platform: windows
# - image: macos-latest
# platform: macos
#- image: windows-latest
# platform: windows
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Configure Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- 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 }}-
# 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 (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 .
- 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*
- 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
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
path: wheelhouse/*.whl

0 comments on commit ca14526

Please sign in to comment.