Merge pull request #116 from twilfredo/wilfred/fixup-psk-compile #237
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-glibc: | |
runs-on: ubuntu-latest | |
permissions: read-all | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- linux/amd64 | |
- linux/arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install \ | |
gnutls-dev \ | |
libkeyutils-dev \ | |
libnl-3-dev \ | |
libnl-genl-3-dev \ | |
libglib2.0-dev | |
- name: Configure | |
run: | | |
./autogen.sh | |
./configure --with-systemd | |
- name: Build | |
run: make | |
- name: Check | |
run: make check | |
- name: Distcheck | |
run: make distcheck | |
build-musl: | |
runs-on: ubuntu-latest | |
container: alpine:latest | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- linux/amd64 | |
- linux/arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apk update | |
apk add --no-cache \ | |
build-base \ | |
autoconf \ | |
automake \ | |
libtool \ | |
gnutls-dev \ | |
keyutils-dev \ | |
libnl3-dev \ | |
glib-dev \ | |
linux-headers | |
- name: Configure | |
run: | | |
./autogen.sh | |
./configure --with-systemd | |
- name: Build | |
run: make | |
- name: Check | |
run: make check | |
- name: Distcheck | |
run: make distcheck |