Skip to content

Commit

Permalink
[CI] Update workflow to match branch name (#161)
Browse files Browse the repository at this point in the history
* fix loading plugins (for registration)

* Update macOS version for CI (#159)

* Update ci.yml

* Update ci.yml

* [CI] Update workflow to match branch name

* fix url to fetch regression

---------

Co-authored-by: Frederick Roy <[email protected]>
Co-authored-by: Frederick Roy <[email protected]>
  • Loading branch information
3 people authored Dec 24, 2024
1 parent 0bb160b commit 08d033f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
sofa_branch: [master]
os: [ubuntu-22.04, macos-13, windows-2022]
sofa_branch: [v24.12]

steps:
- name: Setup SOFA and environment
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
if [[ "$RUNNER_OS" != "macOS" ]]; then
# Get regression from github releases
mkdir -p "${{ runner.temp }}/regression_tmp/install"
curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L https://github.com/sofa-framework/regression/releases/download/release-master/Regression_test_master_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip
curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L https://github.com/sofa-framework/regression/releases/download/release-${{ matrix.sofa_branch }}/Regression_test_${{ matrix.sofa_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip
unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install"
# Install it in the SOFA bin directory
$SUDO mv "${{ runner.temp }}"/regression_tmp/install/Regression_*/bin/* "${SOFA_ROOT}/bin"
Expand Down

0 comments on commit 08d033f

Please sign in to comment.