-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.17 KB
/
macos.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
name: macos
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
macos-test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run setup.sh
run: |
export HOMEBREW_BUNDLE_MAS_SKIP=$(brew bundle list --mas | paste -sd " " -)
${GITHUB_WORKSPACE}/setup.sh
env:
HOMEBREW_BUNDLE_BREW_SKIP: "go mono"
HOMEBREW_BUNDLE_CASK_SKIP: "docker"
- name: Run sync-vscode
run: |
make sync-vscode
- name: Run brew bundle
run: |
export HOMEBREW_BUNDLE_MAS_SKIP=$(brew bundle list --mas | paste -sd " " -)
make brew-bundle
env:
HOMEBREW_BUNDLE_BREW_SKIP: "go mono"
HOMEBREW_BUNDLE_CASK_SKIP: "docker"
- name: Run deploy
run: |
make deploy
# - name: Load .zshenv
# run: |
# zsh ~/.zshenv 2> error.log; cat error.log
# if [ -s error.log ]; then false; fi
# - name: Load .zshrc
# run: |
# export TERM="xterm-256color"
# source ~/.zshrc 2> error.log; cat error.log
# if [ -s error.log ]; then false; fi