Skip to content

FINISHED EVERYTHING POOR PEASANTS #13

FINISHED EVERYTHING POOR PEASANTS

FINISHED EVERYTHING POOR PEASANTS #13

Workflow file for this run

name: Build & test
on:
push:
branches:
- master
jobs:
build_and_test:
strategy:
matrix:
os: [ ubuntu-latest, macos-13 ]
name: Build & test on ${{ matrix.os }}.
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Ubuntu dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake libstemmer-dev libhyperscan-dev
- name: Install macOS dependencies
if: ${{ matrix.os == 'macos-13' }}
run: |
brew install cmake snowball hyperscan
- name: Build project with CMake
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_STEMMER:BOOL=ON -DFIX_MSMARCO_LATIN1:BOOL=ON -DTEXT_FULL_LATIN1_CASE:BOOL=ON ..
make -j4
- name: Run Google Test
run: |
cd build
./tests/Google_Tests_run