add missing src/cc.c to liboauth2_sts_la_SOURCES for make check #107
This file contains 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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config | |
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev libpcre2-dev libpcre2-8-0 libjq-dev | |
sudo apt-get install -y libxml2-dev | |
cd /tmp | |
git clone https://github.com/OpenIDC/liboauth2.git | |
cd liboauth2 | |
./autogen.sh | |
./configure | |
make | |
sudo make install | |
- name: Configure | |
run: | | |
./autogen.sh | |
./configure | |
- name: Make | |
run: make | |
- name: Test | |
run: make check || (cat test-suite.log && exit -1) | |
- name: Distcheck | |
run: make distcheck DESTDIR="/tmp/liboauth2-sts" |