-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (50 loc) · 1.56 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# WARNING: DO NOT EDIT. AUTO-GENERATED CODE (.github/workflows.src/main.yml)
name: CI
'on':
push:
branches:
- master
- /^v(\d+)\.(\d+)\.(\d+)/
jobs:
main:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-16.04
- ubuntu-18.04
- macos-latest
sf_ci_brew_install:
- minimal
- dev
name: 'main-${{ matrix.os }}-${{ matrix.sf_ci_brew_install }}'
runs-on: '${{ matrix.os }}'
env:
GH_TOKEN: '${{ secrets.GH_TOKEN }}'
SF_CI_BREW_INSTALL: '${{ matrix.sf_ci_brew_install }}'
SF_LOG_BOOTSTRAP: true
TRANSCRYPT_PASSWORD: '${{ secrets.TRANSCRYPT_PASSWORD }}'
steps:
- uses: actions/checkout@v2
- name: Run actions/checkout@v2 submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 \
submodule update --init --force --recursive --depth=1
- run: ./.ci.sh before_install
- run: ./.ci.sh install
- run: ./.ci.sh before_script
- run: ./.ci.sh script
- run: ./.ci.sh after_failure || true
if: failure()
- run: ./.ci.sh after_success || true
- run: ./.ci.sh after_script || true
if: always()
- env:
SLACK_WEBHOOK: '${{ secrets.SLACK_WEBHHOK }}'
SLACK_CHANNEL: cloud-ci
CI_STATUS: '${{ job.status }}'
run: ./.ci.sh notifications || true
if: always()