summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/sw.yml21
-rw-r--r--README.md1
-rw-r--r--sw.cpp33
3 files changed, 0 insertions, 55 deletions
diff --git a/.github/workflows/sw.yml b/.github/workflows/sw.yml
deleted file mode 100644
index 085796c..0000000
--- a/.github/workflows/sw.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-name: sw
-
-on: [push, pull_request]
-
-jobs:
- build:
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [windows-latest, ubuntu-latest, macOS-latest]
-
- steps:
- - uses: actions/checkout@v1
- - uses: egorpugin/sw-action@master
-
- - name: build
- run: ./sw build
-
- - name: test
- run: ./sw test
diff --git a/README.md b/README.md
index 4143d88..8d859ca 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
# tgbot-cpp
[![Travis build Status](https://travis-ci.org/reo7sp/tgbot-cpp.svg?branch=master)](https://travis-ci.org/reo7sp/tgbot-cpp)
-![Build status](https://github.com/reo7sp/tgbot-cpp/workflows/sw/badge.svg)
<br>
[![GitHub contributors](https://img.shields.io/github/contributors/reo7sp/tgbot-cpp.svg)](https://github.com/reo7sp/tgbot-cpp/graphs/contributors)
diff --git a/sw.cpp b/sw.cpp
deleted file mode 100644
index ab9ba8f..0000000
--- a/sw.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-void build(Solution &s)
-{
- auto &tgbot = s.addLibrary("reo7sp.tgbot", "1.2.2");
- tgbot += Git("https://github.com/reo7sp/tgbot-cpp", "v{M}.{m}{po}");
- {
- tgbot += cpp14;
-
- tgbot.ApiName = "TGBOT_API";
-
- if (tgbot.getCompilerType() == CompilerType::MSVC)
- tgbot.CompileOptions.push_back("/Zc:__cplusplus");
-
- tgbot.Public += "org.sw.demo.boost.property_tree"_dep;
- tgbot.Public += "org.sw.demo.openssl.ssl"_dep;
- tgbot.Public += "org.sw.demo.boost.system"_dep;
- tgbot.Public += "org.sw.demo.boost.date_time"_dep;
- tgbot.Public += "org.sw.demo.badger.curl.libcurl"_dep, "HAVE_CURL"_def;
- tgbot.Public += "org.sw.demo.boost.asio"_dep;
- }
-
- auto &t = tgbot.addExecutable("test");
- {
- t.Scope = TargetScope::Test;
- t += cpp14;
- t += "test/.*"_rr;
- t += "test"_idir;
- t += "SW_BUILD"_def;
- t += tgbot;
- t += "org.sw.demo.boost.test"_dep;
- }
-
- tgbot.addTest(t);
-}