Skip to content

Commit

Permalink
Merge pull request #23 from cubicdaiya/udpate-gtest
Browse files Browse the repository at this point in the history
ci: update googletest to 1.14.0.
  • Loading branch information
cubicdaiya authored Jul 11, 2024
2 parents aa87c5e + 7912efa commit c3da586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install scons and gtest
run: |
sudo apt-get install -y scons
sudo apt-get install -y cmake scons
wget https://github.com/google/googletest/archive/release-1.11.0.zip
unzip -q release-1.11.0.zip
cd googletest-release-1.11.0
wget https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
tar zxvf v1.14.0.tar.gz
cd googletest-1.14.0
cmake .
make
sudo make install
Expand Down
2 changes: 1 addition & 1 deletion test/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def path_chomp(path):
env = Environment(
CPPFLAGS=['-Wall', '-O2'],
CPPPATH=['..'],
CXXFLAGS="-std=c++11",
CXXFLAGS="-std=c++14",
)

conf = Configure(env);
Expand Down

0 comments on commit c3da586

Please sign in to comment.