Skip to content

Fix autotools test harness #32

Fix autotools test harness

Fix autotools test harness #32

Workflow file for this run

name: build
on:
push:
branches:
- main
- github_action
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build dependencies
run: |
./mcrouter/scripts/install_ubuntu_24.04.sh "$(pwd)"/mcrouter-install deps
- name: Build mcrouter
run: |
mkdir -p "$(pwd)"/mcrouter-install/install
./mcrouter/scripts/install_ubuntu_24.04.sh "$(pwd)"/mcrouter-install mcrouter
- name: Test mcrouter
run: |
cd mcrouter
make check -s -j$(nproc) || (cd tests && make recheck -s j$(nproc))
- name: Upload test logs
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: test-suite.log
path: mcrouter/test/test-suite.log