Skip to content

Commit 63664f5

Browse files
authored
ci: use github actions macos (#46)
1 parent 4f03050 commit 63664f5

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.ci/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pipeline {
5454
axes {
5555
axis {
5656
name 'PLATFORM'
57-
values 'macosx && x86_64', 'ubuntu-20.04 && immutable', 'windows-2019 && windows-immutable'
57+
values 'ubuntu-20.04 && immutable', 'windows-2019 && windows-immutable'
5858
}
5959
axis {
6060
name 'GO_VERSION'

.github/workflows/macos.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: macos
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
macos:
12+
runs-on: macos-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: get go version
16+
run: |
17+
gv=$(cat .go-version)
18+
echo "::set-output name=go::$gv"
19+
id: version
20+
21+
- name: install Go
22+
uses: actions/setup-go@v1
23+
with:
24+
go-version: "${{steps.version.outputs.go}}"
25+
26+
- name: Run test
27+
run: go test -v ./...

0 commit comments

Comments
 (0)