Skip to content

Fix version string formatting #40

Fix version string formatting

Fix version string formatting #40

Workflow file for this run

name: CI Build
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
build-ubuntu-amd64:
name: build-ubuntu-amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check out libmodule
uses: actions/checkout@v3
with:
repository: fededp/libmodule
ref: '5.0.1'
path: libmodule
- name: Install deps
run: |
sudo apt update
sudo apt install -y --no-install-recommends build-essential pkg-config cmake libsystemd-dev libpopt-dev libconfig-dev libgsl-dev libdbus-1-dev
- name: Install libmodule
run: |
cd libmodule
mkdir build && cd build
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE="Release" ..
make
sudo make install
- name: Configure project
run: |
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..
- name: Build
run: |
cd build && make