Skip to content

Commit

Permalink
enable github action build
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <hans.zandbelt@openidc.com>
  • Loading branch information
zandbelt committed Sep 13, 2024
1 parent 2dd81b7 commit ec38ca7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
name: Build

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y libssl-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev
sudo apt-get install -y libjansson-dev libcjose-dev apache2-dev libxml2-dev check pkg-config
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
Expand All @@ -33,5 +30,8 @@ jobs:
- name: Make
run: make

- name: Test
run: make check || (cat test-suite.log && exit -1)

- name: Distcheck
run: make distcheck DESTDIR="/tmp/liboauth2-sts"

0 comments on commit ec38ca7

Please sign in to comment.