From 9927aa40b78a6ea95a86f82bc1bd7c31d71bc864 Mon Sep 17 00:00:00 2001 From: jonwzheng Date: Mon, 13 Jan 2025 14:52:56 -0500 Subject: [PATCH 1/2] update CI to use upload artifacts v4 --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a1f52fb7e5..6eb68e33a9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -130,7 +130,7 @@ jobs: # Upload Regression Results as Failed if above step failed - name: Upload Failed Results if: ${{ failure() && steps.regression-execution.conclusion == 'failure' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: failed_regression_results path: | @@ -139,7 +139,7 @@ jobs: # Upload Regression Results as Dynamic if Push to non-main Branch - name: Upload Results as Dynamic if: ${{ env.REFERENCE_JOB == 'false' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dynamic_regression_results path: | @@ -269,14 +269,14 @@ jobs: - name: Upload regression summary artifact # the annotate workflow uses this artifact to add a comment to the PR - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if : ${{ github.event_name == 'pull_request' }} with: name: regression_summary path: RMG-Py/summary.txt - name: Upload Comparison Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: regression_test_comparison_results path: | From cd4b6a7b66ebc5cfe15d2134642080ed08a5f41e Mon Sep 17 00:00:00 2001 From: jonwzheng Date: Fri, 24 Jan 2025 11:54:48 -0500 Subject: [PATCH 2/2] fix runner bug by symlinking libtiff.so.6 to libtiff.so.5 --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6eb68e33a9..ab454df990 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -80,6 +80,11 @@ jobs: mamba info mamba list + - name: Make libtiff Symlink to Avoid Runner Bug + run: | # This action may need to be removed/adjusted in future runs. + if [ ! -f /usr/lib/x86_64-linux-gnu/libtiff.so.5 ] && [ -f /usr/lib/x86_64-linux-gnu/libtiff.so.6 ]; then sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5; fi + find /usr/lib -name libtiff* + # modify env variables as directed in the RMG installation instructions - name: Set Environment Variables run: |