aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 07:17:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 07:18:28 +0300
commit052c6e276c276f524ff10bc7c911465ec7377efb (patch)
treee82e45c4267e6af4a6254bce6e034574439b4c35 /.github
parentworkflows/test.yml: don't run on Windows hosts (diff)
downloadsetup-gcc-052c6e276c276f524ff10bc7c911465ec7377efb.tar.gz
setup-gcc-052c6e276c276f524ff10bc7c911465ec7377efb.zip
workflows/test.yml: remove redundant flags
Diffstat (limited to '')
-rw-r--r--.github/workflows/test.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index cd32e53..ffffe70 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -63,16 +63,14 @@ jobs:
$flags += '-m32'
}
$flags += @(
- '-x', 'c++',
'-std=c++14',
'-o', 'foo',
- 'foo.cpp',
- '-lstdc++'
+ 'foo.cpp'
)
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}
- & g++ $flags
+ g++ $flags
- name: Run foo.exe
run: |