Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
buffer committed Jan 22, 2024
1 parent 3bc4c00 commit 31245af
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/osx-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,25 @@ on: [push, pull_request]
jobs:
build:
name: Build wheels on MacOSX ARM64
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
runs-on: macos-latest

steps:
- name: STEP Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4

- name: STEP Build wheels
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_PLATFORM: macos
CIBW_ARCHS_MACOS: arm64
CIBW_ARCHS_MACOS: arm64 universal2
CIBW_BUILD: cp312-*
CIBW_SKIP: "*-win32 *-musllinux_x86_64 *_i686"
CIBW_BEFORE_ALL: >
wget https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.zip &&
ls -lh &&
wget -q https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.zip &&
unzip -q boost_1_84_0.zip &&
cd boost_1_84_0 &&
./bootstrap.sh &&
sudo ./b2 install -j 8 --with-system --with-python --with-filesystem --with-iostreams --with-date_time --with-thread &&
sudo ./b2 install -j 8 link=static runtime-link=static --with-system --with-python --with-filesystem --with-iostreams --with-date_time --with-thread &&
cd -
CIBW_BEFORE_BUILD_MACOS: "python setup.py v8"
CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"

- name: Upload wheel
Expand Down

0 comments on commit 31245af

Please sign in to comment.