Skip to content

Commit ec38ca7

Browse files
committed
enable github action build
Signed-off-by: Hans Zandbelt <hans.zandbelt@openidc.com>
1 parent 2dd81b7 commit ec38ca7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
name: Build
22

3-
on:
4-
push:
5-
pull_request:
6-
schedule:
7-
- cron: "0 0 * * *"
3+
on: [push, pull_request]
84

95
jobs:
106
build:
11-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-latest
128

139
steps:
14-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1511

1612
- name: Dependencies
1713
run: |
1814
sudo apt-get update -y
19-
sudo apt-get install -y libssl-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev
20-
sudo apt-get install -y libjansson-dev libcjose-dev apache2-dev libxml2-dev check pkg-config
15+
sudo apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config
16+
sudo apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev libpcre2-dev libpcre2-8-0 libjq-dev
17+
sudo apt-get install -y libxml2-dev
2118
cd /tmp
2219
git clone https://github.com/OpenIDC/liboauth2.git
2320
cd liboauth2
@@ -33,5 +30,8 @@ jobs:
3330
- name: Make
3431
run: make
3532

33+
- name: Test
34+
run: make check || (cat test-suite.log && exit -1)
35+
3636
- name: Distcheck
3737
run: make distcheck DESTDIR="/tmp/liboauth2-sts"

0 commit comments

Comments
 (0)