summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/sw.yml2
-rw-r--r--sw.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/sw.yml b/.github/workflows/sw.yml
index a58f77c..be5d660 100644
--- a/.github/workflows/sw.yml
+++ b/.github/workflows/sw.yml
@@ -1,6 +1,6 @@
name: sw
-on: [push, pull-request]
+on: [push, pull_request]
jobs:
build:
diff --git a/sw.cpp b/sw.cpp
index 050caea..1979b14 100644
--- a/sw.cpp
+++ b/sw.cpp
@@ -17,6 +17,7 @@ void build(Solution &s)
auto &t = tgbot.addExecutable("test");
{
t.Scope = TargetScope::Test;
+ t += cpp11;
t += "test/.*"_rr;
t += "test"_idir;
t += "SW_BUILD"_def;