-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.21 KB
/
mint-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
on:
pull_request:
branches: "main"
jobs:
test_mint:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: mint
version: "0.2.0"
os: macos-12 # intel
- name: mint
version: "0.2.0"
os: macos-14 # arm
steps:
- uses: actions/checkout@v3
- name: Install mint & run it
run: |
set -o pipefail
! command -v mint
brew install ./Formula/${{ matrix.name }}.rb 2>&1 | tee install-output.txt
mint --version | grep ${{ matrix.version }}
- name: Ensure the integrity was verified
run: '! grep "Cannot verify integrity of" install-output.txt'
test_mint_linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: mint
version: "0.2.0"
steps:
- name: Install homebrew
uses: Homebrew/actions/setup-homebrew@5caa94335a28d8fdf5a478ae8586f2da40a0a989
- name: Install mint
run: |
set -o pipefail
! command -v mint
brew install rwx-research/tap/${{ matrix.name }}
mint --version | grep ${{ matrix.version }}