Skip to content

Commit 08d033f

Browse files
bakpaulfredroy
andauthored
[CI] Update workflow to match branch name (sofa-framework#161)
* fix loading plugins (for registration) * Update macOS version for CI (sofa-framework#159) * Update ci.yml * Update ci.yml * [CI] Update workflow to match branch name * fix url to fetch regression --------- Co-authored-by: Frederick Roy <froy@lnrobo.com> Co-authored-by: Frederick Roy <fredroy@users.noreply.github.com>
1 parent 0bb160b commit 08d033f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-22.04, macos-12, windows-2022]
16-
sofa_branch: [master]
15+
os: [ubuntu-22.04, macos-13, windows-2022]
16+
sofa_branch: [v24.12]
1717

1818
steps:
1919
- name: Setup SOFA and environment
@@ -131,7 +131,7 @@ jobs:
131131
if [[ "$RUNNER_OS" != "macOS" ]]; then
132132
# Get regression from github releases
133133
mkdir -p "${{ runner.temp }}/regression_tmp/install"
134-
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
134+
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
135135
unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install"
136136
# Install it in the SOFA bin directory
137137
$SUDO mv "${{ runner.temp }}"/regression_tmp/install/Regression_*/bin/* "${SOFA_ROOT}/bin"

0 commit comments

Comments
 (0)