From 8a99b1acc3f6ccfb306ca6e85645ad26b64fe3e6 Mon Sep 17 00:00:00 2001 From: Elizabeth Perl Date: Wed, 18 Sep 2024 15:30:25 -0400 Subject: [PATCH] Update build-ss3.yml try macos-13 again --- .github/workflows/build-ss3.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-ss3.yml b/.github/workflows/build-ss3.yml index aa36063..d4be882 100644 --- a/.github/workflows/build-ss3.yml +++ b/.github/workflows/build-ss3.yml @@ -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. @@ -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) @@ -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 @@ -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 @@ -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