-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.01 KB
/
test.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
# Github Actions CI
# Importantly, github CI support macos environments.
# Daily build to ensure that potential problems get caught (NB: I have had issues
# where a working setup no longer worked due to bit rot, which would have been
# caught with a regular build like this).
# I am running up close to maximum execution time, so very likely I will need to
# refactor/come up with some other way to do this.
# [[file:../../workstation.org::*Github Actions CI][Github Actions CI:1]]
name: CI
on:
push:
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
build:
strategy:
matrix:
os:
# - macos-10.15
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run a one-line script
env:
BW_CLIENTID: ${{ secrets.BW_CLIENTID }}
BW_CLIENTSECRET: ${{ secrets.BW_CLIENTSECRET }}
WS_BW_MASTER_PASS: ${{ secrets.WS_BW_MASTER_PASS }}
run: ./test/ci.sh
# Github Actions CI:1 ends here