Skip to content

Commit

Permalink
Github actions cmake compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcais committed Jun 16, 2023
1 parent dc25494 commit 0c8ba5b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
steps:
- uses: ConorMacBride/install-package@v1
with:
apt: libgtest-dev strace
apt: libgtest-dev
- uses: actions/checkout@v3
- name: autoconf

- name: Build and test with autotools
run: autoreconf -fi
- name: configure
run: ./configure
Expand All @@ -33,3 +34,9 @@ jobs:
name: gtest-logs
path: '**/*.log'
retention-days: 1

- name: Build and test with CMake
uses: lukka/get-cmake@latest
with:
args: -DNOSHELL_BUILD_TESTS=ON
run-test: true
2 changes: 1 addition & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ clean-local-check:
rm -f *_tmp

# CMake support
EXTRA_DIST = CMakeLists.txt
EXTRA_DIST += CMakeLists.txt

0 comments on commit 0c8ba5b

Please sign in to comment.