Skip to content
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
fbe3437
Test action
bakpaul Sep 9, 2024
8df44d1
Fix action
bakpaul Sep 9, 2024
c4b6e61
Test pre job hook
bakpaul Sep 9, 2024
89035de
Add setup_build step
bakpaul Sep 9, 2024
638448a
Fix action
bakpaul Sep 9, 2024
19a6cf3
FIX when folders already exist + TODOS
bakpaul Sep 10, 2024
fb11aca
Add filter action and scripts
hugtalbot Mar 10, 2025
2c3e263
replace sofa-framework by bakpaul
hugtalbot Mar 13, 2025
e60e875
fix indentation
hugtalbot Mar 13, 2025
56424e2
add checkout code action
hugtalbot Mar 13, 2025
4cd207f
Add backbone
bakpaul Mar 18, 2025
c2c9065
Cloning SOFA working
bakpaul Mar 18, 2025
7a2042f
Forgot to save
bakpaul Mar 18, 2025
284b085
add chmod to run script
hugtalbot Mar 18, 2025
da443f3
Add call-workflow, refactor env variables, update python script
hugtalbot Mar 18, 2025
702d1b4
remove useless comment
hugtalbot Mar 18, 2025
7194835
Apply suggestions from code review
hugtalbot Mar 19, 2025
4f5a248
Apply suggestions from code review
hugtalbot Mar 19, 2025
cf80c01
Update filter-build.yml
hugtalbot Mar 19, 2025
67c19f1
Finalize clone sofa and ci (#7)
bakpaul Mar 19, 2025
a273eb4
Add build step (#8)
bakpaul Mar 21, 2025
5d050c3
Use step outputs to send variables in call workflow (#9)
hugtalbot Apr 7, 2025
f4db5b1
Update checkPRInfoBeforeBuild.py (#11)
hugtalbot Apr 7, 2025
e135fba
Fix build script (#13)
bakpaul Apr 8, 2025
1277bb5
fix script + revert wrong changes (#15)
bakpaul Apr 8, 2025
e83964a
Update filter-build.yml (#16)
hugtalbot Apr 8, 2025
d84ad30
Fix sha when commit pushed in master (#17)
hugtalbot Apr 8, 2025
efc3a56
Temporarily change remote for non-PR (#18)
hugtalbot Apr 8, 2025
3caa9e6
202505 evolve filter nightly (#19)
hugtalbot Apr 11, 2025
a0dfe32
Fix trigger through comments (#20)
hugtalbot Apr 11, 2025
e40bab1
move echo to read it
hugtalbot Apr 11, 2025
583bfc4
attempt to access information PR comment
hugtalbot Apr 11, 2025
dc9fc4e
attempt to access information PR comment
hugtalbot Apr 11, 2025
d2daa31
complete access information PR comment
hugtalbot Apr 11, 2025
f50a2f8
complete access information PR comment
hugtalbot Apr 11, 2025
c8fc82a
Update search of PR information when comment_issue
hugtalbot Apr 11, 2025
21bfb31
Remove empty env var
hugtalbot Apr 11, 2025
185cf9e
add check on OWNER_NAME var
hugtalbot Apr 11, 2025
f66c252
add check on OWNER_NAME var
hugtalbot Apr 11, 2025
390d191
last attempt to fill env var for comment_issue
hugtalbot Apr 11, 2025
7f0ef49
split in two steps for comment_issue
hugtalbot Apr 11, 2025
70547d8
add missing PR number for comment_issue (step 2)
hugtalbot Apr 11, 2025
4b90416
Start work on docker use (#10)
bakpaul Apr 17, 2025
c6b6b5c
Filter build only if not schedule, PR comment linked steps (#21)
hugtalbot Apr 17, 2025
2df5b14
Fix when ci-depends-on is empty (#22)
bakpaul Apr 17, 2025
9417d00
Manage out of tree plugins and simplify binaries generation (#23)
bakpaul Apr 17, 2025
d8a7a05
Fix filter build
bakpaul Apr 17, 2025
a900c9a
Restore changes
bakpaul Apr 17, 2025
1d69da5
Remove unnecessary checks in workflow dispatch
bakpaul Apr 17, 2025
9e9b5dd
Fix builder os matrix
bakpaul Apr 17, 2025
fad7cda
Fix builder os matrix
bakpaul Apr 17, 2025
6f674c5
Activate plugins that are added (#25)
bakpaul Apr 17, 2025
3c042b4
add missing inputs
bakpaul Apr 22, 2025
299fdbf
fix typo
bakpaul Apr 22, 2025
5501405
Merge branch 'master' into j2g_add_missing_inputs_to_dispatch
bakpaul Apr 28, 2025
5743157
Set standard-dev preset for nightly and rename action
hugtalbot Apr 28, 2025
f56674a
Various cleaning
hugtalbot Apr 28, 2025
aca54c2
Rename action
hugtalbot Apr 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Filter build action

name: Trigger build and tests

# ===============================================================
# ===============================================================
Expand All @@ -26,6 +25,27 @@ on:
description: 'CMake flags to add during the CMake call. This is to be used along external-plugins. The syntax is identical to a CMake call'
required: false
type: string
preset:
type: choice
description: Which preset to use for compilation
options:
- standard
- supported-plugins
- full
- standard-dev
- supported-plugins-dev
- full-dev
default: 'full'
builder-os:
type: choice
description: On which OS run the binaries generation
options:
- '["sh-ubuntu_gcc_release"]'
- '["sh-windows_vs2022_release"]'
- '["sh-macos_clang_release"]'
- '["sh-ubuntu_gcc_release","sh-windows_vs2022_release","sh-macos_clang_release"]'
default: '["sh-ubuntu_gcc_release","sh-windows_vs2022_release","sh-macos_clang_release"]'



# Nightly build
Expand Down Expand Up @@ -95,8 +115,6 @@ jobs:

BRANCH=${{ github.event.inputs.branch }}
PYTHON=${{ github.event.inputs.python_version }}
EXTERNAL_PLUGINS="${{ inputs.external-plugins }}"
ADDITIONNAL_CMAKE_FLAGS="${{ inputs.additionnal-cmake-flags }}"

# Validate branch format (e.g., v25.06)
if [ [ ! "$BRANCH" =~ ^v[0-9]{2}\.[0-9]{2}$ ] && [ "$BRANCH" != "master" ] ]; then
Expand All @@ -116,15 +134,15 @@ jobs:
echo "Python version $PYTHON is valid."

# Save all information in environment variables
echo "SOFA_BRANCH_NAME=$BRANCH" >> $GITHUB_ENV
echo "SOFA_BRANCH_NAME=${{ github.event.inputs.branch }}" >> $GITHUB_ENV
echo "SOFA_COMMIT_SHA=HEAD" >> $GITHUB_ENV
echo "PRESET=full" >> $GITHUB_ENV
echo "PYTHON_VERSION=$PYTHON" >> $GITHUB_ENV
echo "PRESET=${{ github.event.inputs.preset }}" >> $GITHUB_ENV
echo "PYTHON_VERSION=${{ github.event.inputs.python_version }}" >> $GITHUB_ENV
echo "GENERATE_BINARIES=true" >> $GITHUB_ENV
echo 'BUILDER_OS=["sh-ubuntu_gcc_release","sh-windows_vs2022_release","sh-macos_clang_release"]' >> $GITHUB_ENV
echo "EXTERNAL_PLUGINS=$EXTERNAL_PLUGINS" >> $GITHUB_ENV
echo "ADDITIONNAL_CMAKE_FLAGS=$ADDITIONNAL_CMAKE_FLAGS" >> $GITHUB_ENV
echo 'BUILDER_OS=${{ github.event.inputs.builder-os }}' >> $GITHUB_ENV
echo "FORCE_FULL_BUILD=true" >> $GITHUB_ENV
echo "EXTERNAL_PLUGINS=${{ inputs.external-plugins }}" >> $GITHUB_ENV
echo "ADDITIONNAL_CMAKE_FLAGS=${{ inputs.additionnal-cmake-flags }}" >> $GITHUB_ENV


- name: Set up python
Expand Down Expand Up @@ -272,8 +290,8 @@ jobs:
echo "CI_DEPENDS_ON=" >> $GITHUB_ENV # CI_DEPENDS_ON: ""
echo "WITH_ALL_TESTS=false" >> $GITHUB_ENV # WITH_ALL_TESTS: false
echo "FORCE_FULL_BUILD=false" >> $GITHUB_ENV # FORCE_FULL_BUILD: false
echo "EXTERNAL_PLUGINS=" >> $GITHUB_ENV # EXTERNAL_PLUGINS: ""
echo "ADDITIONNAL_CMAKE_FLAGS=" >> $GITHUB_ENV # ADDITIONNAL_CMAKE_FLAGS: ""
echo "EXTERNAL_PLUGINS=" >> $GITHUB_ENV # EXTERNAL_PLUGINS: ""
echo "ADDITIONNAL_CMAKE_FLAGS=" >> $GITHUB_ENV # ADDITIONNAL_CMAKE_FLAGS: ""
echo "GENERATE_BINARIES=false" >> $GITHUB_ENV # GENERATE_BINARIES: false
echo "PR_OWNER_URL=" >> $GITHUB_ENV # PR_OWNER_URL: ""
echo "PR_BRANCH_NAME=" >> $GITHUB_ENV # PR_BRANCH_NAME: ""
Expand All @@ -297,7 +315,7 @@ jobs:
run: |
echo "This step runs only for nightly builds."
echo "SOFA_BRANCH_NAME=${{ matrix.sofa_version }}" >> $GITHUB_ENV
echo "PRESET=standard" >> $GITHUB_ENV
echo "PRESET=standard-dev" >> $GITHUB_ENV
echo "WITH_ALL_TESTS=true" >> $GITHUB_ENV
echo "GENERATE_BINARIES=true" >> $GITHUB_ENV
echo 'BUILDER_OS=["sh-ubuntu_gcc_release","sh-windows_vs2022_release","sh-macos_clang_release"]' >> $GITHUB_ENV
Expand Down
Loading