Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Merge pull request #496 from smithed/patch-1 #405

Merge pull request #496 from smithed/patch-1

Merge pull request #496 from smithed/patch-1 #405

Workflow file for this run

name: CI tests (32-bit)
on:
- push
- pull_request
jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-22.04
container:
image: ubuntu:22.04
steps:
- uses: actions/checkout@v3
- name: Setup dependencies
run: |
dpkg --add-architecture i386
apt-get update -qq
apt-get install -qq git build-essential python3 python-is-python3 gcc liblz4-dev:i386 libuv1-dev:i386 gcc-multilib
- name: Build
run: |
git clone --depth 1 https://github.com/edlund/amalgamate.git
amalgamate/amalgamate.py --config=amalgamation.json --source=$(pwd)
gcc -std=gnu11 raft.c -m32 -shared -fPIC -o libraft.so -DHAVE_LINUX_AIO_ABI_H -DLZ4_AVAILABLE -DLZ4_ENABLED -Wall -Wextra -Wpedantic -Werror -luv -llz4
ldd libraft.so