-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.17 KB
/
tests.yml
File metadata and controls
45 lines (42 loc) · 1.17 KB
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
43
44
45
name: Tests
on:
push:
# This should disable running the workflow on tags, according to the
# on.<push|pull_request>.<branches|tags> GitHub Actions docs.
branches:
- "*"
pull_request:
concurrency:
# Cancel older requests of the same workflow in the same branch.
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
strategy:
fail-fast: false
matrix:
pg:
- 19
- 18
- 17
- 16
- 15
- 14
- 13
steps:
- name: Start PostgreSQL ${{ matrix.pg }}
run: pg-start ${{ matrix.pg }}
- name: Check out the repo
uses: actions/checkout@v3
- name: install build-dependencies
run: apt-get update && apt-get install -y libscrypt-dev libargon2-dev libssl-dev
- name: Test on PostgreSQL ${{ matrix.pg }}
run: |
PROFILE="
-D_PWHASH_LIBSCRYPT_SUPPORT=1
-D_PWHASH_ARGON2_OSSL_SUPPORT=1
-D_PWHASH_CRYPT_SCRYPT_SUPPORT=1
-D_PWHASH_CRYPT_YESCRYPT_SUPPORT=1
" pg-build-test