Skip to content

Instantly share code, notes, and snippets.

@ethomson
Last active March 5, 2023 12:03
Show Gist options
  • Save ethomson/5570201b04670fb90c1b0450db19e01a to your computer and use it in GitHub Desktop.
Save ethomson/5570201b04670fb90c1b0450db19e01a to your computer and use it in GitHub Desktop.
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
cc: [gcc, clang]
curl: [openssl, gnutls, nss]
kerberos: [libkrb5, heimdal]
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y ${{ matrix.cc }} \
libcurl4-${{ matrix.curl }}-dev \
${{ matrix.kerberos }}-dev
- name: Display Configuration
run: |
echo "C Compiler:"
${CC} --version
echo ""
echo "Curl configuration:"
curl-config --ssl-backends --version
echo ""
echo "Kerberos configuration:"
krb5-config --all
env:
CC: ${{ matrix.cc }}
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: ./configure && make test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment