This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac92d72
commit ca14526
Showing
1 changed file
with
50 additions
and
50 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |