Skip to content

cmake lists attempt to wf #22

cmake lists attempt to wf

cmake lists attempt to wf #22

Workflow file for this run

name: C++ CI Searcher/Indexer
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Install mongo-cxx-driver using apt
- name: Install mongo-cxx-driver
run: sudo apt-get install -y libmongocxx-dev
# Ensure directories exist and run build commands in /search/build directory
- name: Create search/build directory
run: |
mkdir -p search/build
cd search/build
cmake ..
- name: Make in search/build
run: |
cd search/build
make
- name: Make check in search/build
run: |
cd search/build
make check
- name: Make distcheck in search/build
run: |
cd search/build
make distcheck
# Ensure directories exist and run build commands in /indexer/build directory
- name: Create indexer/build directory
run: mkdir -p indexer/build
- name: Configure in indexer/build
run: |
cd indexer/build
cmake ..
- name: Make in indexer/build
run: |
cd indexer/build
make
- name: Make check in indexer/build
run: |
cd indexer/build
make check
- name: Make distcheck in indexer/build
run: |
cd indexer/build
make distcheck