Skip to content

[PE-1861] debian/control: Updated dependencies from Ubuntu Jammy and Noble #136

[PE-1861] debian/control: Updated dependencies from Ubuntu Jammy and Noble

[PE-1861] debian/control: Updated dependencies from Ubuntu Jammy and Noble #136

Workflow file for this run

---
name: Test Schaufel
# Run this workflow every time a new commit pushed to your repository
on:
pull_request:
#branches: '**'
#branches-ignore: 'main'
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
pr-test-ubuntu:
name: Test Schaufel on Ubuntu
runs-on: ${{ matrix.os }}
strategy:
matrix:
# also test 'latest', eventually this will be upgraded to a newer version and might fail early
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Versions
run: echo "${{ matrix.os }}"
# install build tools
- name: Install build-essential and other tools
run: sudo apt-get install -y build-essential ruby curl ca-certificates gnupg clang
# install dependencies
- name: Install Deps
run: sudo apt-get install libhiredis-dev librdkafka-dev libconfig-dev libjson-c-dev libpq-dev
# do the actual compilation
- name: Configure
run: autoreconf --force -i && ./configure
- name: Run testsuite
run: make test
- name: Make
run: make
# install schaufel
- name: Install Schaufel
run: sudo make install
# run lib asan schaufel test
- name: Configure Clang ASAN
run: make clean && CC=clang LDFLAGS='-fsanitize=address -fno-omit-frame-pointer' CFLAGS='-Og -fsanitize=address -fno-omit-frame-pointer' ./configure
- name: Run testsuite with ASAN
run: make test
- name: Make schaufel with ASAN
run: make
- name: Run simple schaufel test
run: src/schaufel -c 1 -i f -p 1 -o f -f src/main.c -F main.c
- name: test output
run: diff -q src/main.c main.c
pr-test-freebsd:
name: Test Schaufel on FreeBSD
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run FreeBSD test
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
# install dependencies
pkg install -y autotools librdkafka hiredis json-c postgresql14-client libconfig
run: |
autoreconf --force -i
./configure
make test
make
make install
src/schaufel -c 1 -i f -p 1 -o f -f src/main.c -F main.c
diff -q src/main.c main.c