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
name: Build Cengal Shell | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
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'] | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: 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/ | |
- 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 }} | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# matrix: | |
# # macos-13 is an intel runner, macos-14 is apple silicon | |
# os: [macos-14] | |
# python-version: ['3.10', '3.11', '3.12'] | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - 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: 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 arm64" | |
# 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 | |
build_wheels_shell__macos_x64__pypy: | |
name: Build Cengal Shell wheels on ${{ matrix.os }} for PyPy ${{ 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: ['pypy-3.8', 'pypy-3.9', 'pypy-3.10'] | |
python-version: ['pypy-3.8'] | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: Prepare Setup Shell | |
run: | | |
chmod +x ./prepare__setup_shell.sh | |
./prepare__setup_shell.sh | |
chmod +x ./rename_wheel__github_actions__macos__pypy.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__pypy.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 | |
build_wheels_shell__macos_arm64__pypy: | |
name: Build Cengal Shell wheels on ${{ matrix.os }} for PyPy ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# 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'] | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: Prepare Setup Shell | |
run: | | |
chmod +x ./prepare__setup_shell.sh | |
./prepare__setup_shell.sh | |
chmod +x ./rename_wheel__github_actions__macos__pypy.sh | |
- name: Build wheels | |
run: | | |
python -m pip install -r ./requirements.txt | |
mkdir ./wheelhouse_temp/ | |
export ARCHFLAGS="-arch arm64" | |
python -m pip wheel . -w ./wheelhouse_temp/ -v -v -v | |
ls -la ./wheelhouse_temp/ | |
./rename_wheel__github_actions__macos__pypy.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 |