Skip to content

Commit 2b670a4

Browse files
committed
Migrate to Conan Action
1 parent b310cfb commit 2b670a4

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
name: "${{ matrix.compiler }}"
3030
steps:
3131
- uses: actions/checkout@main
32+
- uses: offa/conan-action@b8e0a7119ebc3655d47130251e75c206aba96145
3233
- name: Build
3334
run: script/ci_build.sh
3435

script/ci_build.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ set -ex
44

55
BUILD_TYPE="Release"
66

7-
# Conan
8-
export DEBIAN_FRONTEND=noninteractive
9-
export PATH=$HOME/.local/bin:$PATH
10-
apt-get update
11-
apt-get install -y pipx
12-
pipx install conan
13-
conan profile detect
14-
157
if [[ "${CXX}" == clang* ]]
168
then
179
export CXXFLAGS="-stdlib=libc++"

script/conan_build.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,4 @@
22

33
set -ex
44

5-
export PATH=$HOME/.local/bin:$PATH
6-
apt-get update
7-
apt-get install -y pipx
8-
pipx install conan
9-
10-
conan profile detect
115
conan create -o unittest=True --build=missing .

0 commit comments

Comments
 (0)