Skip to content

Commit 95171d9

Browse files
committed
using GitHub Actions
1 parent a3e914e commit 95171d9

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/ci/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM conanio/gcc8 AS base
2+
3+
LABEL "com.github.actions.name"="Conan build"
4+
LABEL "com.github.actions.description"="Builds a Conan package"
5+
6+
LABEL "maintainer"="Dmitry Arkhipov <[email protected]>"
7+
8+
USER root
9+
ADD entrypoint.sh /entrypoint.sh
10+
ENTRYPOINT ["/entrypoint.sh"]

.github/ci/entrypoint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh -l
2+
3+
eval "$(pyenv init -)"
4+
eval "$(pyenv virtualenv-init -)"
5+
conan remote add upload https://api.bintray.com/conan/grisumbras/conan
6+
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
7+
conan create . grisumbras/testing

.github/main.workflow

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
workflow "CI" {
2+
on = "push"
3+
resolves = "build"
4+
}
5+
6+
action "build" {
7+
uses = "./.github/ci/"
8+
}

test/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
)
55

66

7-
b2 = python_requires("b2-helper/0.2.0@grisumbras/dev")
7+
b2 = python_requires("b2-helper/0.2.0@grisumbras/testing")
88

99

1010
class EnumFlagsTestConan(b2.B2.Mixin, ConanFile):

0 commit comments

Comments
 (0)