Skip to content

Update and rename macos-latest.yml to macos-14.yml #1

Update and rename macos-latest.yml to macos-14.yml

Update and rename macos-latest.yml to macos-14.yml #1

Workflow file for this run

name: macOS 14
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, devel ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
mirror: http://mirrors.ocf.berkeley.edu/qt/
- name: Download cisstNetlib
run: |
cmake -E make_directory ${{github.workspace}}/cisstNetlib-build
git clone https://github.com/jhu-cisst/cisstNetlib ${{github.workspace}}/cisstNetlib-source
- name: Build cisstNetlib
working-directory: ${{github.workspace}}/cisstNetlib-build
run: |
cmake ${{github.workspace}}/cisstNetlib-source -DcisstNetlib_LANGUAGE=C
cmake --build . --config Release
sudo cmake --build . --target install
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake ${{github.workspace}} -DCMAKE_BUILD_TYPE=Release -C ${{github.workspace}}/.github/workflows/cmake-macos-cache.cmake
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: |
source cisstvars.sh
cmake --build . --config Release
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: |
source cisstvars.sh
cisstCommonTests -r
cisstVectorTests -r
cisstNumericalTests -r
cisstOSAbstractionTests -r
cisstParameterTypesTests -r