Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
add automake and hwloc for macOS and support numa
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Jan 17, 2024
1 parent cf7d55f commit 5744d5f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,17 @@ jobs:
command: fmt
args: --all -- --check

- name: cargo test --locked
- name: cargo test --locked (linux & windows)
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
with:
command: test
if: runner.os != 'macOS'

- name: cargo test --locked (macOS)
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
with:
command: test --no-default-features
if: runner.os == 'macOS'

- name: cargo clippy --locked
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # @v1.0.7
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:

- name: Build the executable (other than aarch64 linux)
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
if: matrix.build.target != 'aarch64-unknown-linux-gnu'
if: matrix.build.target != 'aarch64-unknown-linux-gnu' && matrix.build.os != 'macOS'
with:
command: build
args: --locked -Z build-std --target ${{ matrix.build.target }} --profile production --bin pulsar
Expand All @@ -128,6 +128,14 @@ jobs:
command: build
args: --locked -Z build-std --target ${{ matrix.build.target }} --profile aarch64linux --bin pulsar

# We build macOS without `numa` feature, primarily because of https://github.com/HadrienG2/hwlocality/issues/31
- name: Build the executable (macOS)
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
with:
command: build
args: --locked -Z build-std --target ${{ matrix.build.target }} --profile production --no-default-features --bin pulsar
if: runner.os == 'macOS'

- name: Sign and Notarize Application (macOS)
run: |
echo "Importing certificate"
Expand Down

0 comments on commit 5744d5f

Please sign in to comment.