-
Notifications
You must be signed in to change notification settings - Fork 24
42 lines (40 loc) · 913 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
name: Build
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [rockylinux9, ubuntu2204, ubuntu2404]
pg: [pg13, pg14, pg15, pg16]
exclude:
- os: ubuntu2204
pg: pg13
- os: ubuntu2404
pg: pg13
- os: ubuntu2404
pg: pg14
- os: ubuntu2404
pg: pg15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install shunit2
run: sudo apt-get install -y shunit2
- name: Build walkthroughs
run: |
cd linux
./autogenerate.sh
- name: Build docker image
run: |
cd linux/test
PGVER=$PGVER ./docker-build.sh $ENV
./test_services.sh
env:
ENV: ${{ matrix.os }}
PGVER: ${{ matrix.pg }}