diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c8a3b5..63f9f28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,8 +39,12 @@ jobs: submodules: recursive - name: "Get Conan" uses: turtlebrowser/get-conan@main + - name: "Setup Conan Settings" + run: | + move conansettings.yml settings_user.yml + conan config install settings_user.yml - name: "Install Conan" - run: conan install ${{matrix.config.conan-file}} --profile:host=${{matrix.config.conan-profile}} --profile:build=${{matrix.config.conan-profile}} -s compiler.cppstd=20 --build=glib --build=libsecret --build=missing + run: conan install ${{matrix.config.conan-file}} --profile:host=${{matrix.config.conan-profile}} --profile:build=${{matrix.config.conan-profile}} -s compiler.cppstd=20 --build=missing - name: "CMake Build (Linux)" if: ${{ matrix.config.os == 'ubuntu-latest'}} working-directory: ${{github.workspace}}/build diff --git a/conanprofile-linux.txt b/conanprofile-linux.txt index 28ed35c..524ed90 100644 --- a/conanprofile-linux.txt +++ b/conanprofile-linux.txt @@ -5,4 +5,6 @@ compiler=gcc compiler.cppstd=gnu20 compiler.libcxx=libstdc++11 compiler.version=11 -os=Linux \ No newline at end of file +os=Linux +os.libc=glibc +os.libc.version=2.38 \ No newline at end of file diff --git a/conansettings.yml b/conansettings.yml new file mode 100644 index 0000000..02c52ab --- /dev/null +++ b/conansettings.yml @@ -0,0 +1,11 @@ +os: + Linux: + libc: + null: + glibc: + version: ["2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", + "2.8", "2.9", "2.10", "2.11", "2.12", "2.13", "2.14", + "2.15", "2.16", "2.17", "2.18", "2.19", "2.20", "2.21", + "2.22", "2.23", "2.24", "2.25", "2.26", "2.27", "2.28", + "2.29", "2.30", "2.31", "2.32", "2.33", "2.34", "2.35", + "2.36", "2.37", "2.38"] \ No newline at end of file