Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch to Github runner #68

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/mac_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ on:
push:
branches:
- 'main'
- 'pawel/gh-actions-runner'
jobs:
test-macos:
strategy:
fail-fast: false
uses: pathwaycom/pathway/.github/workflows/package_test.yml@main
uses: pathwaycom/pathway/.github/workflows/package_test.yml@pawel/gh-actions-runner
with:
runner: 'ec2-macOS'
runner: 'macos-13'
secrets: inherit
15 changes: 1 addition & 14 deletions .github/workflows/package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,14 @@ jobs:
echo $DEV_VERSION
echo "__version__ = ${DEV_VERSION}" > python/pathway/internals/version.py

- name: Build package Ubuntu x86-x64
if: ${{ matrix.os == 'ubuntu-22.04'}}
- name: Build package Ubuntu for ${{ matrix.os }}
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --strip
manylinux: auto
sccache: true
before-script-linux: yum install -y perl-core

- name: Build package macOS Apple silicon
if: ${{ matrix.os == 'ec2-macOS'}}
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
DEVELOPER_DIR: /Library/Developer/CommandLineTools
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
with:
command: build
args: --release --strip
target: universal2-apple-darwin

- name: Upload artifact
Expand All @@ -90,7 +78,6 @@ jobs:
timeout-minutes: 60
steps:
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.os != 'ec2-macOS'}}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down
Loading