Skip to content

Commit

Permalink
use default profile for Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Jul 24, 2024
1 parent 3eeac9f commit d6209ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
12 changes: 0 additions & 12 deletions .github/conan2/linux_default

This file was deleted.

16 changes: 0 additions & 16 deletions .github/conan2/macos_default

This file was deleted.

10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
conan profile detect
conan version
conan profile show
conan profile show -pr default
mkdir -p libs
- name: compile x86_64
Expand Down Expand Up @@ -108,15 +108,14 @@ jobs:
run: |
conan profile detect
conan version
cp .github/conan2/linux_default ~/.conan2/profiles/default
conan profile show
conan profile show -pr default
mkdir -p libs
mkdir -p build
- name: compile x86_64
shell: bash
run: |
conan install . --output-folder=build --build=missing
conan install . --output-folder=build --build=missing -s:h arch=x86_64
cd build
LIB_SUFFIX="-linux-x86_64" cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .
Expand Down Expand Up @@ -206,8 +205,7 @@ jobs:
run: |
conan profile detect
conan version
cp .github/conan2/${{ matrix.TARGET }}_default ~/.conan2/profiles/default
conan profile show
conan profile show -pr default
- name: conan-install
shell: bash
Expand Down

0 comments on commit d6209ce

Please sign in to comment.