From ca3ac59b71a1d613f7d978f12d9593f68b7ee907 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 18 Jan 2021 15:32:28 +0300 Subject: project.ci: add GitHub Actions --- project/ci/github/__init__.py | 0 project/ci/github/boost.py | 17 +++++++++++++++++ project/ci/github/cmake.py | 17 +++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 project/ci/github/__init__.py create mode 100644 project/ci/github/boost.py create mode 100644 project/ci/github/cmake.py (limited to 'project/ci/github') diff --git a/project/ci/github/__init__.py b/project/ci/github/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/project/ci/github/boost.py b/project/ci/github/boost.py new file mode 100644 index 0000000..5fd1e48 --- /dev/null +++ b/project/ci/github/boost.py @@ -0,0 +1,17 @@ +# Copyright (c) 2019 Egor Tensin +# This file is part of the "cmake-common" project. +# For details, see https://github.com/egor-tensin/cmake-common. +# Distributed under the MIT License. + +from project.ci.boost import build_ci +from project.ci.dirs import GitHub +from project.utils import setup_logging + + +def main(argv=None): + with setup_logging(): + build_ci(GitHub(), argv) + + +if __name__ == '__main__': + main() diff --git a/project/ci/github/cmake.py b/project/ci/github/cmake.py new file mode 100644 index 0000000..9b9c7b9 --- /dev/null +++ b/project/ci/github/cmake.py @@ -0,0 +1,17 @@ +# Copyright (c) 2019 Egor Tensin +# This file is part of the "cmake-common" project. +# For details, see https://github.com/egor-tensin/cmake-common. +# Distributed under the MIT License. + +from project.ci.cmake import build_ci +from project.ci.dirs import GitHub +from project.utils import setup_logging + + +def main(argv=None): + with setup_logging(): + build_ci(GitHub(), argv) + + +if __name__ == '__main__': + main() -- cgit v1.2.3