Skip to content

Commit

Permalink
ci: move macos to github actions (#1175) (#1178)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3fb21ea)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
  • Loading branch information
mergify[bot] and v1v authored Sep 14, 2022
1 parent a88489f commit 1bb6731
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ pipeline {
axes {
axis {
name 'PLATFORM'
values 'ubuntu-20.04 && immutable', 'aws && aarch64', 'windows-2016 && windows-immutable', 'windows-2022 && windows-immutable', 'macos12 && x86_64'
// Orka workers are not healthy (memory and connectivity issues)
values 'ubuntu-20.04 && immutable', 'aws && aarch64', 'windows-2016 && windows-immutable', 'windows-2022 && windows-immutable' //, 'macos12 && x86_64'
}
}
stages {
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: macos

on:
pull_request:
push:
branches:
- main
- 8.*

jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
run: mage build
- name: Run test
run: mage unitTest

0 comments on commit 1bb6731

Please sign in to comment.