From 4a9e44c1f86b26242cd8e1cf29b048f694250280 Mon Sep 17 00:00:00 2001 From: Miguel Borges de Freitas <92enen@gmail.com> Date: Mon, 20 Nov 2023 14:56:22 +0000 Subject: [PATCH] ci: add noFilesystemAccess special build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Miloš Komarčević <4973094+kmilos@users.noreply.github.com> --- .../workflows/on_PR_linux_special_builds.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/on_PR_linux_special_builds.yml b/.github/workflows/on_PR_linux_special_builds.yml index be2db5bdd1..64d9864d85 100644 --- a/.github/workflows/on_PR_linux_special_builds.yml +++ b/.github/workflows/on_PR_linux_special_builds.yml @@ -128,6 +128,28 @@ jobs: cd build ctest --output-on-failure + special_noFilesystemAccess: + name: 'Ubuntu 22.04 - GCC - No filesystem access build' + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt install -y ninja-build + python3 -m pip install conan==1.* + + - name: Conan common config + run: | + conan profile new --detect default + conan profile update settings.compiler.libcxx=libstdc++11 default + + - name: Build + run: | + cmake --preset linux-release -S . -B build -DEXIV2_ENABLE_FILESYSTEM_ACCESS=OFF -DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_BUILD_EXIV2_COMMAND=OFF + cmake --build build --parallel + special_allEnabled: name: 'Ubuntu 22.04 - GCC - All Options Enabled + Documentation' runs-on: ubuntu-22.04