From 9a2e728ab13704927a2403e498ae5c5b5e7188b4 Mon Sep 17 00:00:00 2001 From: ButenkoMS Date: Sat, 23 Mar 2024 12:17:43 +0200 Subject: [PATCH] GA --- .github/workflows/build__macos__shell.yaml | 83 +++++++++++----------- 1 file changed, 41 insertions(+), 42 deletions(-) diff --git a/.github/workflows/build__macos__shell.yaml b/.github/workflows/build__macos__shell.yaml index 434eea285..d31b53b2f 100644 --- a/.github/workflows/build__macos__shell.yaml +++ b/.github/workflows/build__macos__shell.yaml @@ -7,52 +7,51 @@ on: branches: [ master ] jobs: - build_wheels_shell__macos_x64__cpython: - name: Build Cengal Shell wheels on ${{ matrix.os }} for CPython ${{ matrix.python-version }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - # macos-13 is an intel runner, macos-14 is apple silicon - os: [macos-13] - # python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - python-version: ['3.9'] + # build_wheels_shell__macos_x64__cpython: + # name: Build Cengal Shell wheels on ${{ matrix.os }} for CPython ${{ matrix.python-version }} + # runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # # macos-13 is an intel runner, macos-14 is apple silicon + # os: [macos-13] + # python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - steps: - - uses: actions/checkout@v4 + # steps: + # - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} + # - name: Set up Python ${{ matrix.python-version }} + # uses: actions/setup-python@v2 + # with: + # python-version: ${{ matrix.python-version }} - - name: Install basic Python dependencies - run: | - python -m pip install --upgrade pip - python -m pip install --upgrade setuptools - python -m pip install --upgrade wheel + # - name: Install basic Python dependencies + # run: | + # python -m pip install --upgrade pip + # python -m pip install --upgrade setuptools + # python -m pip install --upgrade wheel - - name: Prepare Setup Shell - run: | - chmod +x ./prepare__setup_shell.sh - ./prepare__setup_shell.sh - chmod +x ./rename_wheel__github_actions__macos__cpython.sh + # - name: Prepare Setup Shell + # run: | + # chmod +x ./prepare__setup_shell.sh + # ./prepare__setup_shell.sh + # chmod +x ./rename_wheel__github_actions__macos__cpython.sh - - name: Build wheels - run: | - python -m pip install -r ./requirements.txt - mkdir ./wheelhouse_temp/ - export ARCHFLAGS="-arch x86_64" - python -m pip wheel . -w ./wheelhouse_temp/ -v -v -v - ls -la ./wheelhouse_temp/ - ./rename_wheel__github_actions__macos__cpython.sh ${{ matrix.python-version }} ${{ matrix.os }} - mkdir ./wheelhouse/ - cp -R ./wheelhouse_temp/cengal-*.whl ./wheelhouse/ - ls -la ./wheelhouse/ + # - name: Build wheels + # run: | + # python -m pip install -r ./requirements.txt + # mkdir ./wheelhouse_temp/ + # export ARCHFLAGS="-arch x86_64" + # python -m pip wheel . -w ./wheelhouse_temp/ -v -v -v + # ls -la ./wheelhouse_temp/ + # ./rename_wheel__github_actions__macos__cpython.sh ${{ matrix.python-version }} ${{ matrix.os }} + # mkdir ./wheelhouse/ + # cp -R ./wheelhouse_temp/cengal-*.whl ./wheelhouse/ + # ls -la ./wheelhouse/ - - uses: actions/upload-artifact@v4 - with: - name: cibw-wheels-cengal-shell-${{ matrix.os }}-Py_${{ matrix.python-version }}-${{ strategy.job-index }}-${{ github.run_number }}-${{ github.run_attempt }} - path: ./wheelhouse/*.whl + # - uses: actions/upload-artifact@v4 + # with: + # name: cibw-wheels-cengal-shell-${{ matrix.os }}-Py_${{ matrix.python-version }}-${{ strategy.job-index }}-${{ github.run_number }}-${{ github.run_attempt }} + # path: ./wheelhouse/*.whl # build_wheels_shell__macos_arm64__cpython: # name: Build Cengal Shell wheels on ${{ matrix.os }} for CPython ${{ matrix.python-version }} @@ -108,7 +107,7 @@ jobs: # macos-13 is an intel runner, macos-14 is apple silicon os: [macos-13] # python-version: ['pypy-3.8', 'pypy-3.9', 'pypy-3.10'] - python-version: ['pypy-3.8'] + python-version: ['pypy-3.9', 'pypy-3.10'] steps: - uses: actions/checkout@v4 @@ -155,7 +154,7 @@ jobs: # macos-13 is an intel runner, macos-14 is apple silicon os: [macos-14] # python-version: ['pypy-3.8', 'pypy-3.9', 'pypy-3.10'] - python-version: ['pypy-3.8'] + python-version: ['pypy-3.9', 'pypy-3.10'] steps: - uses: actions/checkout@v4