Skip to content

Commit

Permalink
Conan Settings For Custom glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Dec 7, 2023
1 parent 6f901b1 commit df5031a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion conanprofile-linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ compiler=gcc
compiler.cppstd=gnu20
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
os=Linux
os.libc=glibc
os.libc.version=2.38
11 changes: 11 additions & 0 deletions conansettings.yml
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit df5031a

Please sign in to comment.