Skip to content

Derive the MEOS catalog and libmeos via provision-meos #10

Derive the MEOS catalog and libmeos via provision-meos

Derive the MEOS catalog and libmeos via provision-meos #10

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
MOBILITYDB_REF: master
jobs:
build:
name: Regenerate, build and smoke-test against MEOS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Provision MEOS (build libmeos + generate catalog)
id: meos
uses: MobilityDB/MEOS-API/.github/actions/provision-meos@master
with:
mobilitydb-ref: ${{ env.MOBILITYDB_REF }}
build-libmeos: "true"
- name: Regenerate bindings
run: python3 tools/codegen.py "${{ steps.meos.outputs.catalog-path }}"
- name: Report binding drift
run: git --no-pager diff --stat -- MEOS.NET/Internal || true
- name: Build solution
run: dotnet build MEOS.NET.sln -c Release
- name: Run tests
run: dotnet test MEOS.NET.sln -c Release --no-build
- name: Smoke-test the FFI
run: dotnet run --project ExampleApp/ExampleApp.csproj -c Release --no-build
env:
LD_LIBRARY_PATH: ${{ steps.meos.outputs.libmeos-prefix }}/lib