diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index 106b10cc..878df220 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -18,7 +18,7 @@ on: jobs: Build: - runs-on: macos-13 + runs-on: macos-14 defaults: run: shell: bash @@ -91,7 +91,7 @@ jobs: Test: needs: [Build] - runs-on: macos-13 + runs-on: macos-14 defaults: run: shell: bash diff --git a/travis_osx_brew_cache.sh b/travis_osx_brew_cache.sh index 42e71446..e55a9f8e 100644 --- a/travis_osx_brew_cache.sh +++ b/travis_osx_brew_cache.sh @@ -9,7 +9,7 @@ mkdir -p $BREW_LOCAL_BOTTLE_METADATA # Starting reference point for elapsed build time; seconds since the epoch. #TRAVIS_TIMER_START_TIME is set at the start of a log fold, in nanoseconds since the epoch -BREW_TIME_START=$(($TRAVIS_TIMER_START_TIME/10**9)) +BREW_TIME_START=$(date +%s) # If after a package is built, elapsed time is more than this many seconds, fail the build but save Travis cache # The cutoff moment should leave enough time till Travis' job time limit to process the main project.