-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 1.09 KB
/
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
name: CI
on: [push]
jobs:
test:
strategy:
matrix:
runs-on: ["macOS-latest", "ubuntu-latest"]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v1
- name: Install tools Linux
if: matrix.runs-on == 'ubuntu-latest'
shell: bash
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bash_profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install --build-bottle --verbose Formula/kdash.rb
kdash -h
- name: Install tools Mac
if: matrix.runs-on == 'macOS-latest'
shell: bash
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/runner/.bash_profile
eval "$(/usr/local/bin/brew shellenv)"
brew install --build-bottle --verbose Formula/kdash.rb
kdash -h