Skip to content

Bump lodash from 4.17.21 to 4.17.23 in /trick_source/web/dashboard #2071

Bump lodash from 4.17.21 to 4.17.23 in /trick_source/web/dashboard

Bump lodash from 4.17.21 to 4.17.23 in /trick_source/web/dashboard #2071

Workflow file for this run

name: macOS
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- '.github/workflows/**'
- '!.github/workflows/test_macos.yml'
pull_request:
workflow_dispatch:
jobs:
macOS:
runs-on: macos-15
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Install googletest version 1.17.0 — the latest stable release as of 6/6/25
# Note: Need to periodically update googletest version to ensure tests can run
# against the latest.
# Specifying the version to ensure CI builds are stable and not unexpectedly
# broken by upstream changes.
- name: Install gtest 1.17.0
run: |
wget https://github.com/google/googletest/archive/refs/tags/v1.17.0.tar.gz
tar -xvf v1.17.0.tar.gz
cd googletest-1.17.0
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/opt/homebrew
cmake --build build
sudo cmake --install build
- name: Install dependencies
run: |
brew update
brew upgrade || true
brew install --cask xquartz
brew install udunits openmotif maven
brew install swig llvm
- name: Build Trick
run: |
export MAKEFLAGS=-j4
# Image YAML labels macos-14 and macos-15 use arm64, while macos-13 is intel-based.
# The configure script has been updated to find /opt/homebrew automatically for arm64 as of 6/6/25
# Please note that if using the intel one, --with-xxx options are needed to specify the path
./configure
make
- name: Test
run: |
cd share/trick/trickops/
python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt
export MAKEFLAGS=-j4
cd ../../../; make test
- name: Upload Tests
uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
# Include run attempt in artifact name so report workflow can fetch the latest attempt
name: Trick_macos_attempt_${{ github.run_attempt }}
path: trick_test/*.xml
retention-days: 1