From 416c266ce321f076d6c35a69c92f8f26b00dbfa7 Mon Sep 17 00:00:00 2001 From: Quentin MELOTTE Date: Tue, 17 Mar 2026 14:02:04 +0100 Subject: [PATCH 1/4] CI change version runner and branches action --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 164cdb4..558c05b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,7 +10,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e0b009..55e12fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,10 @@ name: CI Test on: push: # on push branch main branches: - - '**' + - 'main' pull_request: # on pull request on all branch branches: - - '**' + - 'main' jobs: @@ -16,7 +16,7 @@ jobs: ###################### Building of HybroGen ########################################### ####################################################################################### build-toolschains: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repo @@ -81,7 +81,7 @@ jobs: if-no-files-found: error build-grammar-and-dataBase: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 services: postgres: image: postgres:15 @@ -187,7 +187,7 @@ jobs: ####################################################################################### regression-test-aarch64: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-toolschains,build-grammar-and-dataBase] services: postgres: @@ -268,7 +268,7 @@ jobs: make aarch64 regression-test-riscv: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-toolschains,build-grammar-and-dataBase] services: postgres: @@ -349,7 +349,7 @@ jobs: make riscv regression-test-power: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-toolschains,build-grammar-and-dataBase] services: postgres: @@ -438,7 +438,7 @@ jobs: ###################### Demo Stencil ################################################### ####################################################################################### demo-stencil-riscv: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-riscv] services: postgres: @@ -521,7 +521,7 @@ jobs: demo-stencil-aarch64: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-aarch64] services: postgres: @@ -602,7 +602,7 @@ jobs: cd ./Demos/Stencil && make allAarch64Qemu demo-stencil-power: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-power] services: postgres: @@ -688,7 +688,7 @@ jobs: demo-vectorMatrix-aarch64: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-aarch64] services: postgres: @@ -769,7 +769,7 @@ jobs: cd ./Demos/VectorMatrix && make aarch64 demo-vectorMatrix-riscv: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-riscv] services: postgres: @@ -852,7 +852,7 @@ jobs: demo-vectorMatrix-power: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-power] services: postgres: @@ -938,7 +938,7 @@ jobs: ####################################################################################### demo-NewtonSquareRoot-aarch64: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-aarch64] services: postgres: @@ -1020,7 +1020,7 @@ jobs: demo-NewtonSquareRoot-riscv: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-riscv] services: postgres: @@ -1101,7 +1101,7 @@ jobs: cd ./Demos/Newton-SquareRoot-VariablePrecision && make demo-riscv demo-NewtonSquareRoot-power: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [regression-test-power] services: postgres: From a5c371583b6b84f9dddc892f5f35c47da730614c Mon Sep 17 00:00:00 2001 From: Quentin MELOTTE Date: Tue, 17 Mar 2026 14:11:18 +0100 Subject: [PATCH 2/4] test installation dependancies --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55e12fb..97d82b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ name: CI Test on: push: # on push branch main branches: - - 'main' + - '**' pull_request: # on pull request on all branch branches: - 'main' @@ -34,7 +34,8 @@ jobs: libglib2.0-dev \ libpixman-1-dev \ zlib1g-dev \ - pkg-config + pkg-config \ + libc6 - name: Restore cache id: toolchain-cache From 049e5bf299068ad1ed3b1ced635b6566f3ccbc8c Mon Sep 17 00:00:00 2001 From: Quentin MELOTTE Date: Tue, 17 Mar 2026 14:29:47 +0100 Subject: [PATCH 3/4] try New version of ubuntu + dependancies --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97d82b1..f91f286 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: libglib2.0-dev \ libpixman-1-dev \ zlib1g-dev \ - pkg-config \ + pkg-config \ libc6 - name: Restore cache From a6a7782d08d8cdd73de7655789b4e14290168b6e Mon Sep 17 00:00:00 2001 From: Quentin MELOTTE Date: Tue, 17 Mar 2026 14:36:27 +0100 Subject: [PATCH 4/4] Install dependancies --- .github/workflows/ci.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f91f286..31d4d53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: ###################### Building of HybroGen ########################################### ####################################################################################### build-toolschains: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repo @@ -34,8 +34,8 @@ jobs: libglib2.0-dev \ libpixman-1-dev \ zlib1g-dev \ - pkg-config \ - libc6 + pkg-config + sudo apt install -y libc6 - name: Restore cache id: toolchain-cache @@ -82,7 +82,7 @@ jobs: if-no-files-found: error build-grammar-and-dataBase: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 services: postgres: image: postgres:15 @@ -188,7 +188,7 @@ jobs: ####################################################################################### regression-test-aarch64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [build-toolschains,build-grammar-and-dataBase] services: postgres: @@ -269,7 +269,7 @@ jobs: make aarch64 regression-test-riscv: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [build-toolschains,build-grammar-and-dataBase] services: postgres: @@ -350,7 +350,7 @@ jobs: make riscv regression-test-power: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [build-toolschains,build-grammar-and-dataBase] services: postgres: @@ -439,7 +439,7 @@ jobs: ###################### Demo Stencil ################################################### ####################################################################################### demo-stencil-riscv: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-riscv] services: postgres: @@ -522,7 +522,7 @@ jobs: demo-stencil-aarch64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-aarch64] services: postgres: @@ -603,7 +603,7 @@ jobs: cd ./Demos/Stencil && make allAarch64Qemu demo-stencil-power: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-power] services: postgres: @@ -689,7 +689,7 @@ jobs: demo-vectorMatrix-aarch64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-aarch64] services: postgres: @@ -770,7 +770,7 @@ jobs: cd ./Demos/VectorMatrix && make aarch64 demo-vectorMatrix-riscv: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-riscv] services: postgres: @@ -853,7 +853,7 @@ jobs: demo-vectorMatrix-power: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-power] services: postgres: @@ -939,7 +939,7 @@ jobs: ####################################################################################### demo-NewtonSquareRoot-aarch64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-aarch64] services: postgres: @@ -1021,7 +1021,7 @@ jobs: demo-NewtonSquareRoot-riscv: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-riscv] services: postgres: @@ -1102,7 +1102,7 @@ jobs: cd ./Demos/Newton-SquareRoot-VariablePrecision && make demo-riscv demo-NewtonSquareRoot-power: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [regression-test-power] services: postgres: