-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (51 loc) · 1.41 KB
/
abq-ci.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
on:
pull_request:
branches: "main"
jobs:
test_abq:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: abq
version: "1.8.0"
os: macos-12 # intel
- name: abq
version: "1.8.0"
os: macos-14 # arm
- name: abq@1
version: "1.8.0"
os: macos-12 # intel
- name: abq@1
version: "1.8.0"
os: macos-14 # arm
steps:
- uses: actions/checkout@v3
- name: Install abq & run it
run: |
set -o pipefail
! command -v abq
brew install ./Formula/${{ matrix.name }}.rb 2>&1 | tee install-output.txt
abq --version | grep ${{ matrix.version }}
- name: Ensure the integrity was verified
run: '! grep "Cannot verify integrity of" install-output.txt'
test_abq_linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: abq
version: "1.8.0"
- name: abq@1
version: "1.8.0"
steps:
- name: Install homebrew
uses: Homebrew/actions/setup-homebrew@5caa94335a28d8fdf5a478ae8586f2da40a0a989
- name: Install abq & run it
run: |
set -o pipefail
! command -v abq
brew install ${{ matrix.name }}
abq --version | grep ${{ matrix.version }}