File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Linux
2+
3+ on : [push]
4+
5+ jobs :
6+ ubuntu :
7+ # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#example-running-with-more-than-one-operating-system
8+ runs-on : ${{ matrix.os }}
9+
10+ strategy :
11+ matrix :
12+ os :
13+ - ubuntu-18.04
14+ - ubuntu-20.04
15+
16+ steps :
17+ - uses : actions/checkout@v1
18+
19+ - run : sudo apt install -y libgtest-dev libbenchmark-dev
20+ - run : |
21+ mkdir /tmp/gtest
22+ cd /tmp/gtest
23+ cmake /usr/src/googletest -DCMAKE_CXX_FLAGS=-std=c++11 -Dgtest_disable_pthreads=1
24+ sudo make install
25+
26+ - run : ./configure --examples --tests --benchmarks
27+ - run : make
28+ - run : make test
Original file line number Diff line number Diff line change 1- name : CI
1+ name : Windows
22
33on : [push]
44
Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ struct test_5d_array {
8787
8888 if (write) {
8989 int idx = 0 ;
90- for (const auto &t1 : t) {
91- for (const auto &t2 : t1) {
92- for (const auto &t3 : t2) {
90+ for (const auto && t1 : t) {
91+ for (const auto && t2 : t1) {
92+ for (const auto && t3 : t2) {
9393 for (const auto &&t4 : t3) {
9494 for (auto &&t5 : t4) {
9595 ++idx;
You can’t perform that action at this time.
0 commit comments