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

Commit ca14526

Browse files
committed
...
1 parent ac92d72 commit ca14526

File tree

1 file changed

+50
-50
lines changed

1 file changed

+50
-50
lines changed

.github/workflows/custom_builds.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ name: Custom build
88
on:
99
push:
1010
branches:
11-
- 'custom_eclever'
11+
- "cb-try-custom-build"
1212
paths-ignore:
13-
- '*.md'
14-
- '*.sh'
13+
- "*.md"
14+
- "*.sh"
1515

1616
jobs:
1717
build_wheels:
@@ -23,57 +23,57 @@ jobs:
2323
include:
2424
- image: ubuntu-latest
2525
platform: linux
26-
# - image: macos-latest
27-
# platform: macos
28-
#- image: windows-latest
29-
# platform: windows
26+
# - image: macos-latest
27+
# platform: macos
28+
#- image: windows-latest
29+
# platform: windows
3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v2
3232

33-
- name: Configure Python
34-
uses: actions/setup-python@v2
35-
with:
36-
python-version: '3.7'
33+
- name: Configure Python
34+
uses: actions/setup-python@v2
35+
with:
36+
python-version: "3.7"
3737

38-
# keep in-sync with the other yaml
39-
- name: Cache Conan (MacOS)
40-
id: cache-conan
41-
uses: actions/cache@v2
42-
if: matrix.platform == 'macos'
43-
with:
44-
path: |
45-
${{ github.workspace }}/conan_data
46-
${{ github.workspace }}/conan_build
47-
key: conan-${{ matrix.platform }}-${{ hashFiles('conanfile.txt') }}
48-
restore-keys: |
49-
conan-${{ matrix.platform }}-
38+
# keep in-sync with the other yaml
39+
- name: Cache Conan (MacOS)
40+
id: cache-conan
41+
uses: actions/cache@v2
42+
if: matrix.platform == 'macos'
43+
with:
44+
path: |
45+
${{ github.workspace }}/conan_data
46+
${{ github.workspace }}/conan_build
47+
key: conan-${{ matrix.platform }}-${{ hashFiles('conanfile.txt') }}
48+
restore-keys: |
49+
conan-${{ matrix.platform }}-
5050
51-
- name: Install Conan (MacOS)
52-
if: matrix.platform == 'macos' && steps.cache-conan.outputs.cache-hit != 'true'
53-
run: |
54-
pip install pip --upgrade
55-
pip install conan
56-
conan profile new default --detect
57-
conan config set "storage.path=${{ github.workspace }}/conan_data"
58-
conan install --install-folder ${{ github.workspace }}/conan_build --remote conancenter .
51+
- name: Install Conan (MacOS)
52+
if: matrix.platform == 'macos' && steps.cache-conan.outputs.cache-hit != 'true'
53+
run: |
54+
pip install pip --upgrade
55+
pip install conan
56+
conan profile new default --detect
57+
conan config set "storage.path=${{ github.workspace }}/conan_data"
58+
conan install --install-folder ${{ github.workspace }}/conan_build --remote conancenter .
5959
60-
- name: Install Conan (Windows)
61-
if: matrix.platform == 'windows'
62-
run: |
63-
pip install pip --upgrade
64-
pip install conan
65-
conan profile new default --detect
66-
conan profile update "settings.compiler=Visual Studio" default
67-
conan profile update "settings.compiler.version=16" default
68-
conan config set "storage.path=$env:GITHUB_WORKSPACE/conan_data"
69-
conan install --install-folder conan_build --remote conancenter .
60+
- name: Install Conan (Windows)
61+
if: matrix.platform == 'windows'
62+
run: |
63+
pip install pip --upgrade
64+
pip install conan
65+
conan profile new default --detect
66+
conan profile update "settings.compiler=Visual Studio" default
67+
conan profile update "settings.compiler.version=16" default
68+
conan config set "storage.path=$env:GITHUB_WORKSPACE/conan_data"
69+
conan install --install-folder conan_build --remote conancenter .
7070
71-
- uses: pypa/[email protected]
72-
env:
73-
MACOSX_DEPLOYMENT_TARGET: 10.9
74-
CIBW_BUILD: cp39* cp310*
71+
- uses: pypa/[email protected]
72+
env:
73+
MACOSX_DEPLOYMENT_TARGET: 10.9
74+
CIBW_BUILD: cp39* cp310*
7575

76-
- name: Upload wheels
77-
uses: actions/upload-artifact@v2
78-
with:
79-
path: wheelhouse/*.whl
76+
- name: Upload wheels
77+
uses: actions/upload-artifact@v2
78+
with:
79+
path: wheelhouse/*.whl

0 commit comments

Comments
 (0)