Skip to content

Commit

Permalink
ci(actions): oakhost macos runner (#8014)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: be195db1bf4e7059ffb6fa4ce54aba70a80204e1
  • Loading branch information
pw-ppodhajski authored and Manul from Pathway committed Jan 17, 2025
1 parent 804a5f2 commit 0f0315a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mac_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
fail-fast: false
uses: pathwaycom/pathway/.github/workflows/package_test.yml@main
with:
runner: 'ec2-macOS'
secrets: inherit
runner: 'selfhosted-macOS'
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
before-script-linux: yum install -y perl-core

- name: Build package macOS Apple silicon
if: ${{ matrix.os == 'ec2-macOS'}}
if: ${{ matrix.os == 'selfhosted-macOS'}}
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.os != 'ec2-macOS'}}
if: ${{ matrix.os != 'selfhosted-macOS'}}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
python-version: ["3.10"]
os:
- ubuntu-22.04
- ec2-macOS
- selfhosted-macOS
- ${{ needs.start-runner.outputs.label }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
before-script-linux: yum install -y perl-core

- name: Build package macOS Apple silicon
if: ${{ matrix.os == 'ec2-macOS'}}
if: ${{ matrix.os == 'selfhosted-macOS'}}
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
path: ./target/wheels/

- name: Upload artifact
if: ${{ matrix.os == 'ec2-macOS' }}
if: ${{ matrix.os == 'selfhosted-macOS' }}
uses: actions/upload-artifact@v4
with:
name: pathway-arm64
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
matrix:
python-version: ["3.10", "3.11"]
os:
- ec2-macOS
- selfhosted-macOS
- ${{ needs.start-runner.outputs.label }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
Expand All @@ -208,7 +208,7 @@ jobs:
mkdir -p wheels
- uses: actions/download-artifact@v4
if: ${{ matrix.os == 'ec2-macOS' }}
if: ${{ matrix.os == 'selfhosted-macOS' }}
with:
name: pathway-arm64
path: ./wheels/
Expand Down

0 comments on commit 0f0315a

Please sign in to comment.