From ca14526bfd357f0b5dd5c349e819b0d852e80023 Mon Sep 17 00:00:00 2001 From: Christian Beiwinkel Date: Fri, 21 Jun 2024 13:10:15 +0200 Subject: [PATCH] ... --- .github/workflows/custom_builds.yml | 100 ++++++++++++++-------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/custom_builds.yml b/.github/workflows/custom_builds.yml index 5a9bf76..8fbe099 100644 --- a/.github/workflows/custom_builds.yml +++ b/.github/workflows/custom_builds.yml @@ -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/cibuildwheel@v2.3.1 - env: - MACOSX_DEPLOYMENT_TARGET: 10.9 - CIBW_BUILD: cp39* cp310* + - uses: pypa/cibuildwheel@v2.3.1 + 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