aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-03 01:32:22 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-03 01:32:22 +0300
commitae8ee6621b76432b2fcaf78927f0985fcee5b652 (patch)
treef7819e4d882c2e4493fc93e520ff4e1066f327db
parentactions/build-foo: use versioned g++ binary (diff)
downloadsetup-gcc-ae8ee6621b76432b2fcaf78927f0985fcee5b652.tar.gz
setup-gcc-ae8ee6621b76432b2fcaf78927f0985fcee5b652.zip
actions/build-foo: -std=c++11 instead of c++14
-rw-r--r--.github/actions/build-foo/action.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/actions/build-foo/action.yml b/.github/actions/build-foo/action.yml
index 3e50e67..1f246f8 100644
--- a/.github/actions/build-foo/action.yml
+++ b/.github/actions/build-foo/action.yml
@@ -18,7 +18,7 @@ runs:
if ('${{ matrix.platform }}' -eq 'x86') {
$flags += '-m32'
}
- $flags += '-std=c++14','-o','foo','foo.cpp'
+ $flags += '-std=c++11','-o','foo','foo.cpp'
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}