Skip to content

Commit

Permalink
Update build-ss3.yml try macos-13 again
Browse files Browse the repository at this point in the history
  • Loading branch information
e-perl-NOAA authored Sep 18, 2024
1 parent 58b1235 commit 8a99b1a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-ss3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
config:
# - {os: windows-latest}
- {os: macos-12}
- {os: macos-13}
# - {os: macos-latest}
# - {os: ubuntu-latest}
# Limit run time to 90 min to avoid wasting action minutes.
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:

- name: Get the last tag on unix (macOS and linux)
id: get-latest-tag-unix
if: matrix.config.os == 'macos-12'
if: matrix.config.os == 'macos-13'
run: |
git tag
latest_tag=$(git describe --abbrev=0 --tags)
Expand All @@ -82,7 +82,7 @@ jobs:

- name: Pull the last tag value to use in the Rscript on unix (macOS and linux)
id: get-version-unix
if: matrix.config.os == 'macos-12'
if: matrix.config.os == 'macos-13'
run: |
echo "${{ steps.get-latest-tag-unix.outputs.tag }}" > .github/last_tag.txt
echo "${{ steps.get-latest-tag-unix.outputs.tag_commit }}" > .github/last_tag_commit.txt
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:


- name: Build stock synthesis for mac with admb docker image
if: matrix.config.os == 'macos-12'
if: matrix.config.os == 'macos-13'
run: |
brew install docker
colima start
Expand Down Expand Up @@ -209,14 +209,14 @@ jobs:
# /bin/bash ./Make_SS_330_new.sh --admb docker -b SS330 -o

- name: Verify binary on mac
if: matrix.config.os == 'macos-12'
if: matrix.config.os == 'macos-13'
run: |
shasum -a 256 SS330/ss3
shasum -a 256 SS330/ss3_opt
# || matrix.config.os == 'macos-latest'

- name: Delete unneeded files and change exe names on mac
if: matrix.config.os == 'macos-12'
if: matrix.config.os == 'macos-13'
run: |
cd SS330
rm *.obj *.htp *.cpp ss3_opt.tpl
Expand Down

0 comments on commit 8a99b1a

Please sign in to comment.