Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
6fc3a1a
V1 of RegressionSingleOp
Aug 25, 2026
4853b3b
RM pycache
Aug 25, 2026
effc3b8
Add HybroLangVisitor to clean file because it was missing
Aug 25, 2026
5012f28
Return status for Future CI
Aug 25, 2026
0d137ca
Test regressionSingleOpOnCI
Aug 25, 2026
ff83349
fix Syntax error
Aug 25, 2026
f2b7b86
Verbose + continue on true on regressionSingleOp
Aug 25, 2026
286a392
Re organising workflow
Aug 25, 2026
2b5e2f3
Test Write in json
Aug 27, 2026
65a5962
Test for uploading json into
Aug 27, 2026
581c22d
Fix path error
Aug 27, 2026
3036f75
Fix path again
Aug 27, 2026
6c5b754
add ls
Aug 27, 2026
eaeee66
Add forgotten file
Aug 27, 2026
f28b27c
Delete useless strategy matrix
Aug 27, 2026
04d68ac
add forgotten checkout
Aug 27, 2026
8cd05e1
Use correct variable in for each
Aug 27, 2026
490073d
RM file before download it
Aug 27, 2026
4b6df7d
Erase error create by copy past the skeletton of code
Aug 27, 2026
0d902aa
Fix name architecture powerpc -> power
Aug 27, 2026
9e1da7f
chore: update for regression results [skip ci]
Aug 27, 2026
68bfd6d
Comment CI and CD for easy maintaining
Aug 31, 2026
8e7656a
Merge branch 'HybroGen_CI/CD_Developpment' of github.com:CEA-LIST/Hyb…
Aug 31, 2026
42e7937
Fix branch issue
Aug 31, 2026
28bf2ec
chore: update for regression results [skip ci]
Aug 31, 2026
e7c8642
fix PR failed json test
Aug 31, 2026
89f6864
Merge branch 'HybroGen_CI/CD_Developpment' of github.com:CEA-LIST/Hyb…
Aug 31, 2026
2aacfd9
CI commented
Aug 31, 2026
3c0e24b
Fix path SingleOpSupported
Aug 31, 2026
54f5447
chore: update for regression results [skip ci]
Aug 31, 2026
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
38 changes: 14 additions & 24 deletions .github/workflows/HybroGenMainCD.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: HybroGen_CD_Workflow

#the CI call the CD for simplicity
on:
workflow_call:
permissions:
permissions: #Permission for safety
contents: read

jobs:
deploy:

# if deploy fail the CI still noted as success
continue-on-error: true
runs-on: ubuntu-24.04

runs-on: ubuntu-24.04 #Version that we ensure hybrogen work on

#Strategy to launch multiple vm to connect wth ssh to all the MC and run the demo native
strategy:
matrix:
include:
# - arch: riscv
# port: 60000
# set in pause the riscv calculus and deployment
# set in pause the riscv calculus and deployment because of segfault on riscv machine
- arch: aarch64
port: 65000

Expand All @@ -30,9 +31,9 @@ jobs:
- arch: aarch64
port: 65003

concurrency:
concurrency: # if 2 CD is launch at the same time this concurrency stategy garantee that the last CD will wait until first is finished
group: shared-machines-${{ matrix.arch }}-${{ matrix.port }}
cancel-in-progress: false
cancel-in-progress: false # If true the first CD stop everything to let the second run
#To test concurrency
steps:

Expand All @@ -47,41 +48,30 @@ jobs:
sudo apt install -y python3-antlr4
python -m pip install --upgrade pip
python -m pip install antlr4-python3-runtime==${VERSION}
python -m pip install psycopg2-binary

- name: Download artifacts
- name: Download artifacts #Download artifacts generated during the CI
run: |
gh run download ${{ github.event.workflow_run.id }} -n hybrogen-artifacts -D artifacts
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Move artifacts
- name: Move artifacts # Move artefact into current checkout
run: |
rm -rf ./HybroGen ./HybroLang
mv artifacts/generated/HybroGen ./HybroGen
mv artifacts/generated/HybroLang ./HybroLang
rm -rf artifacts/
ls

- name: Build C file
- name: Build C file # Use Hybrolang.py to generate the good C file needed (ex. Stencil.aarch64.c)
run: |
cd ./Demos
cd ./Stencil/ && make build ARCH=${{ matrix.arch }}
cd ../VectorMatrix && make build ARCH=${{ matrix.arch }}
cd ../Newton-SquareRoot-VariablePrecision && make build ARCH=${{ matrix.arch }}


- name: Debug secrets
env:
HOST: ${{ secrets.SSH_ADDR_DEST }}
run: |
if [ -z "$HOST" ]; then
echo "SECRET VIDE"
else
echo "SECRET PRESENT"
fi

- name: Clean machine
- name: Clean machine #Delete last deploy directory to clean machine
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
with:
host: ${{ secrets.SSH_ADDR_DEST }}
Expand All @@ -92,7 +82,7 @@ jobs:
rm -rf ~/FromCD
mkdir ~/FromCD

- name: Copy artifacts via SCP
- name: Copy artifacts via SCP # copy repository into the MC
uses: appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345
with:
host: ${{ secrets.SSH_ADDR_DEST }}
Expand All @@ -102,7 +92,7 @@ jobs:
source: "./Demos"
target: "~/FromCD/"

- name: Compile Program and generate Plot
- name: Compile Program and generate Plot #Compile all C file using -O0 and -O3 flag and run it on the machine to generate (in the best case) a plot
timeout-minutes: 200
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2
with:
Expand Down
Loading