From b15a21d5f3c277db9b0b426c623c1a3af397783b Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 13 Jan 2025 15:02:12 +0100 Subject: [PATCH 1/3] installing png on github workflow actions for the build fail on github due to latest ubuntu --- .github/workflows/cmake.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 107e1c436a..09e69edd4b 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -17,9 +17,12 @@ jobs: - uses: actions/checkout@v3 - uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev + packages: libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev libpng-dev version: 1.0 + - name: Install additional dependencies + run: sudo apt-get update && sudo apt-get install -y libpng-dev + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 630773498c4979ed711dde13f663991081dae11f Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 13 Jan 2025 15:06:12 +0100 Subject: [PATCH 2/3] installing tiff on github workflow --- .github/workflows/cmake.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 09e69edd4b..498bd0faed 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -17,12 +17,12 @@ jobs: - uses: actions/checkout@v3 - uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev libpng-dev + packages: libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev libpng-dev libtiff-dev version: 1.0 - name: Install additional dependencies - run: sudo apt-get update && sudo apt-get install -y libpng-dev - + run: sudo apt-get update && sudo apt-get install -y libpng-dev libtiff-dev + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 54e84a5462783398f27976e722a3ba74d01529fd Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 13 Jan 2025 15:51:13 +0100 Subject: [PATCH 3/3] trial without the update step --- .github/workflows/cmake.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 498bd0faed..9826f4b139 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,9 +20,6 @@ jobs: packages: libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev libpng-dev libtiff-dev version: 1.0 - - name: Install additional dependencies - run: sudo apt-get update && sudo apt-get install -y libpng-dev libtiff-dev - - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type