summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2020-12-01 16:30:33 -0800
committerGitHub <noreply@github.com>2020-12-01 16:30:33 -0800
commita87df2bb60a8739d4eb24b60efca79f8d2b7d806 (patch)
treee84ca95fec9a2eaf992ba7e6f8426f53a2b3bccc /.github
parent798644e64f438f320577a444110744041e39d1ff (diff)
google test: Infrastructure and first api test. (#5548)
This sets up the infrastructure for migrating unit tests from CxxTest to Google Test. It further migrates api/datatype_api_black to the new infrastructure.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index acc13c2ee..5da6b4208 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -61,10 +61,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y \
+ build-essential \
ccache \
cxxtest \
libcln-dev \
libgmp-dev \
+ libgtest-dev \
libedit-dev \
flex \
libfl-dev \
@@ -72,6 +74,10 @@ jobs:
python3 -m pip install toml
python3 -m pip install setuptools
python3 -m pip install pexpect
+ cd /usr/src/googletest
+ sudo cmake .
+ sudo cmake --build . --target install
+ cd -
echo "/usr/lib/ccache" >> $GITHUB_PATH
# Note: macOS comes with a libedit; it does not need to brew-installed
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback