Helpers: to_numpy/cupy #815
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🍏 macOS | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.head_ref }}-macos | |
cancel-in-progress: true | |
env: | |
CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names -Wno-pass-failed" | |
jobs: | |
appleclang: | |
name: [email protected] w/o MPI | |
runs-on: macos-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Dependencies | |
run: .github/workflows/dependencies/dependencies_mac.sh | |
- name: Build & Install | |
run: | | |
export CMAKE_BUILD_PARALLEL_LEVEL=3 | |
python3 -m pip install -U pip setuptools wheel pytest | |
python3 -m pip install -U cmake | |
python3 -m pip install -v . | |
python3 -c "import amrex.space1d as amr; print(amr.__version__)" | |
python3 -c "import amrex.space2d as amr; print(amr.__version__)" | |
python3 -c "import amrex.space3d as amr; print(amr.__version__)" | |
- name: Unit tests | |
run: | | |
python3 -m pytest tests/ | |
# TODO: AppleClang w/ MPI |