diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 95ea0b6..af66d26 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -1,4 +1,4 @@ -name: Build(Linux) +name: linux on: push: diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..53afe7e --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,37 @@ +name: macos + +on: + push: + branches: [ master ] + paths-ignore: '**.md' + pull_request: + branches: [ master ] + paths-ignore: '**.md' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + strategy: + matrix: + OS: [macos-14] + + runs-on: ${{ matrix.OS }} + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + cache: 'pip' + + - run: brew install eigen libomp + + - run: pip install numpy scipy pytest + + - run: pip install . + env: + OpenMP_ROOT: /opt/homebrew/opt/libomp + + - run: python -m pytest src/test/python_test.py -v diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c378039..122ee6c 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -1,4 +1,4 @@ -name: Build(Windows) +name: windows on: push: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8520338..669baf4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Test +name: test on: push: