Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libconfig
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
libconfig
Commits
23d9cb4f
Commit
23d9cb4f
authored
Jan 12, 2021
by
lukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support multiOS CI builds
parent
539423ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
9 deletions
+18
-9
.github/workflows/conan.yaml
.github/workflows/conan.yaml
+18
-9
No files found.
.github/workflows/conan.yaml
View file @
23d9cb4f
name
:
build conan package
on
:
push
on
:
[
push
,
pull_request
]
jobs
:
build_conan
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
os
:
[
windows-latest
,
ubuntu-latest
,
macos-latest
]
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.x'
architecture
:
'
x64'
# install dependencies
-
name
:
dependencies
run
:
|
sudo apt-get update
sudo apt-get install -yq python3 python3-pip python3-setuptools build-essential cmake make
sudo pip3 install conan
# build project
-
name
:
build conan package
-
name
:
install conan
run
:
pip3 install conan
-
name
:
setup conan
run
:
|
conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
# new ABI version needs to be set on GCC >= 5
-
name
:
set ABI
if
:
${{ matrix.os == 'ubuntu-latest' }}
run
:
|
conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
-
name
:
build conan package
run
:
|
conan create .
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment