-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (43 loc) Β· 1.28 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
name: Test macOS
on:
push:
paths-ignore:
- ".circleci/**"
- "README.md"
# run the workflow every day at 12am
schedule:
- cron: "0 0 * * *"
jobs:
test_bin_dot:
name: macOS ${{ matrix.name }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#github-hosted-runners
os: [macOS-10.15]
include:
- os: macOS-10.15
name: Catalina
# macOS 11.0 image was temporarily disabled for public pools
# https://github.com/actions/virtual-environments/issues/2486
# - os: macOS-11.0
# name: Big Sur
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: .dotfiles
- name: Workarounds (cleanup environment)
run: |
brew uninstall [email protected]
rm -rf /usr/local/etc/openssl
rm -rf /usr/local/etc/[email protected]
rm -rf /usr/local/bin/aws
rm -rf /usr/local/bin/aws_completer
rm -rf /usr/local/bin/node
rm -rf /usr/local/bin/npm
- name: Install dotfiles
run: |
export DOTFILES=$HOME/work/dotfiles/dotfiles/.dotfiles
cd .dotfiles
./bin/dot