Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRIDEDIT-892: Bump macos runner to version 14 #301

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build-and-test-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and test
on:
push:
branches:
- "feature/**"
- "feature/**"
pull_request:
types:
- opened # triggers build when opened
Expand All @@ -14,14 +14,13 @@ on:
workflow_dispatch:

jobs:

build:

strategy:
fail-fast: false
matrix:
platform:
- macos-12
- macos-14
build_type:
- Release

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-and-test-master-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ on:
workflow_dispatch:

jobs:

build:

strategy:
fail-fast: false
matrix:
platform:
- macos-12
- macos-13-xlarge
- macos-14
build_type:
- Release

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/build-and-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ on:
type: string

jobs:

build:

# Build platform
runs-on: ${{ inputs.platform }}

Expand All @@ -30,7 +28,6 @@ jobs:

# Build steps
steps:

# Step: Checkout
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -41,7 +38,7 @@ jobs:
# Step: Set paths
- name: Set paths
id: paths
run : |
run: |
echo "build_dir=${{ github.workspace }}/build" >> $GITHUB_OUTPUT
echo "ext_deps_dir=${{ github.workspace }}/external_dependencies" >> $GITHUB_OUTPUT
echo "install_dir=${{ github.workspace }}/install" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -92,7 +89,7 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ inputs.build_type }}
-DCMAKE_PREFIX_PATH=${{ steps.paths.outputs.ext_deps_dir }}/netcdf-c/install/netcdf-c
-DCMAKE_INSTALL_PREFIX=${{ steps.paths.outputs.install_dir }}

# Step: CMake build
- name: Build
run: cmake --build ${{ steps.paths.outputs.build_dir }} --config ${{ inputs.build_type }} -j
Expand All @@ -110,7 +107,7 @@ jobs:
# Step: CMake install
- name: Install
run: cmake --install ${{ steps.paths.outputs.build_dir }}

# Step: Upload artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down
Loading