Skip to content

Commit

Permalink
Add build_and_test_macos_arm
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-vv committed Oct 29, 2024
1 parent bd7d5d9 commit f9cdb72
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,31 @@ jobs:
with:
name: macos-wheel
path: dist/*.whl

build_and_test_macos_arm:
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: |
pip install --upgrade setuptools wheel
- name: Build the wheel
run: python setup.py bdist_wheel
- name: Install the wheel
run: |
pip install dist/*.whl
pip show traceon
- name: Run tests
run: python -m unittest tests/*.py
- name: Upload wheel artifact
uses: actions/upload-artifact@v4
with:
name: macos-arm-wheel
path: dist/*.whl


0 comments on commit f9cdb72

Please sign in to comment.