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

Add Mac CI build for aarch64 (Mac M1) #134

Closed
repi opened this issue Apr 29, 2021 · 2 comments
Closed

Add Mac CI build for aarch64 (Mac M1) #134

repi opened this issue Apr 29, 2021 · 2 comments

Comments

@repi
Copy link
Contributor

repi commented Apr 29, 2021

We do test building for aarch64 for Android which gives some coverage, but would be good to have Mac aarch64 CI target as that is a primary platform for us, and PhysX codebase can fail specifically on it as showin in #133.

Not sure if the would nicely cross-compile from the existing Mac x86 agents, or if we should wait until GitHub has Mac aarch64 native agents (could take a long time).

@repi
Copy link
Contributor Author

repi commented Oct 10, 2021

Probably will just wait until GitHub Actions has built-in support for this. We are actively building and running published releases of physx-rs from this repo on aarch64 Mac on our own infra until then.

@Jake-Shadle
Copy link
Member

Oops, closed in #183

build_debug_aarch64_apple_darwin:
name: Build aarch64-apple-darwin
strategy:
matrix:
include:
- os: macOS-12
target: aarch64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
- run: cargo fetch --target ${{ matrix.target }}
- name: build
run: cargo build -p physx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants