Skip to content

Bump actions/checkout from 3 to 4 #8

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #8

Workflow file for this run

name: Alpine
on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
permissions:
contents: read
jobs:
alpine:
runs-on: ubuntu-latest
container:
image: alpine:edge
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
apk update
apk add build-base cmake cmocka-dev yaml-dev
- name: Run CMake
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DSCONF_BUILD_EXAMPLES=on \
-DSCONF_ENABLE_TESTS=on -Werror=dev ..
- name: Build code
run: cmake --build build
- name: Run tests
run: cmake --build build --target test