Skip to content

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0 #221

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0 #221

Workflow file for this run

# SPDX-FileCopyrightText: 2021 Philipp Basler, Margarete Mühlleitner and Jonas Müller
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Mac unit tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master, develop ]
workflow_dispatch:
jobs:
mac-tests-fullSetup:
runs-on: macos-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name : installPackages
run : brew install eigen gsl nlopt boost libomp nlohmann-json
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: cmake
run: mkdir build && cd build && cmake ..
- name: make
run: cd build && cmake --build . -j${{ steps.cpu-cores.outputs.count }}
- name: Test
run: cd build && ctest -j${{ steps.cpu-cores.outputs.count }} --output-on-failure
mac-tests-NoNLopt:
runs-on: macos-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name : installPackages
run : brew install eigen gsl boost libomp nlohmann-json
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: cmake
run: mkdir buildNoNLOPT && cd buildNoNLOPT && cmake ..
- name: make
run: cd buildNoNLOPT && cmake --build . -j${{ steps.cpu-cores.outputs.count }}
- name: Test
run: cd buildNoNLOPT && ctest -j${{ steps.cpu-cores.outputs.count }} --output-on-failure