From 383dbc6bedaa76cfe2455afd84d30474059f66b0 Mon Sep 17 00:00:00 2001 From: Elizabeth Perl Date: Wed, 15 Jan 2025 13:12:01 -0500 Subject: [PATCH] remove ubuntu 20.04 --- .../workflows/build-admb-and-ss3-from-source.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-admb-and-ss3-from-source.yml b/.github/workflows/build-admb-and-ss3-from-source.yml index f60e5a49..be4a6a8c 100644 --- a/.github/workflows/build-admb-and-ss3-from-source.yml +++ b/.github/workflows/build-admb-and-ss3-from-source.yml @@ -20,7 +20,6 @@ jobs: - {os: macos-latest} - {os: macos-13} - {os: ubuntu-latest} - - {os: ubuntu-20.04} # Limit run time to 90 min to avoid wasting action minutes. # Compiling admb and ss3 on all operating systems takes ~30 min timeout-minutes: 90 @@ -90,11 +89,11 @@ jobs: # Build ADMB for Linux - name: Update Ubuntu packages - if: matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'ubuntu-latest' run: sudo apt-get update - name: Change permissions of admb and put in path, linux - if: matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'ubuntu-latest' run: | cd admb && make clean num_cpus=`cat /proc/cpuinfo | grep processor | wc -l` @@ -133,7 +132,7 @@ jobs: - name: Get the last tag on unix (macOS and linux) id: get-latest-tag-unix - if: matrix.config.os == 'macos-latest' || matrix.config.os == 'macos-13' || matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'macos-latest' || matrix.config.os == 'macos-13' || matrix.config.os == 'ubuntu-latest' run: | git tag latest_tag=$(git describe --abbrev=0 --tags) @@ -145,7 +144,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-latest' || matrix.config.os == 'macos-13' || matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'macos-latest' || matrix.config.os == 'macos-13' || matrix.config.os == 'ubuntu-latest' 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 @@ -262,7 +261,7 @@ jobs: # Build SS3 for Linux - name: Build stock synthesis for linux with p flag - if: matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'ubuntu-latest' run: | rm -rf SS330 rm -rf ss3_osx.tar @@ -272,13 +271,13 @@ jobs: /bin/bash ./Make_SS_330_new.sh -b SS330 -o -p - name: Verify binary on linux - if: matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'ubuntu-latest' run: | sha256sum SS330/ss3 sha256sum SS330/ss3_opt - name: Delete unneeded files and change exe names on linux - if: matrix.config.os == 'ubuntu-latest' || matrix.config.os == 'ubuntu-20.04' + if: matrix.config.os == 'ubuntu-latest' run: | cd SS330 rm *.obj *.htp *.cpp ss3_opt.tpl ss3.tpl