-
Notifications
You must be signed in to change notification settings - Fork 136
62 lines (51 loc) · 1.57 KB
/
qa.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
51
52
53
54
55
56
57
58
59
60
61
62
name: qa
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.platform.on }}
name: ${{ matrix.go }} ${{ matrix.platform.name }} ${{ matrix.platform.type }}
strategy:
fail-fast: false
matrix:
go:
- 1.20.x
platform:
- { on: ubuntu-20.04, name: linux, type: desktop }
- { on: ubuntu-20.04, name: linux, type: browser }
#SKIP - { on: ubuntu-18.04, name: linux, type: mobile }
- { on: macos-11, name: macos, type: desktop }
- { on: macos-11, name: macos, type: browser }
- { on: macos-12, name: M1, type: desktop }
- { on: macos-12, name: M1, type: browser }
#SKIP - { on: macos-10.15, name: macos, type: mobile }
- { on: windows-2019, name: windows, type: desktop }
#SKIP - { on: windows-2019, name: windows, type: browser }
#SKIP - { on: windows-2019, name: windows, type: mobile }
env:
OS_FAMILY: ${{ matrix.platform.name }}
ENV_TYPE: ${{ matrix.platform.type }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v3
- name: Setup toolchain
run: bash script/toolchain.sh -s
- name: Run qa
run: make qa
- name: Run coveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make coveralls
- name: Run bench
run: make bench
- name: Run verify
run: make verify