Commit eb7f421d3d744a0f8da455a4a8bd0fb9ddfc5588
1 parent
dd324dbf
Exists in
develop
Debugging macos workflow.
Showing
1 changed file
with
7 additions
and
5 deletions
Show diff stats
.github/workflows/macos.yml
1 | -name: MacOS Test | 1 | +name: check-macos |
2 | on: | 2 | on: |
3 | push: | 3 | push: |
4 | - branches: | ||
5 | - - macos | 4 | + branches: [ "macos" ] |
5 | + pull_request: | ||
6 | + branches: [ "master" ] | ||
7 | + | ||
6 | jobs: | 8 | jobs: |
7 | - build: | ||
8 | - name: Build for macos | 9 | + macos-build: |
9 | runs-on: macos-latest | 10 | runs-on: macos-latest |
10 | steps: | 11 | steps: |
11 | - name: Checkout | 12 | - name: Checkout |
@@ -15,6 +16,7 @@ jobs: | @@ -15,6 +16,7 @@ jobs: | ||
15 | brew update | 16 | brew update |
16 | brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig | 17 | brew install xz automake binutils coreutils curl gettext libtool openssl pkgconfig |
17 | find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | 18 | find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete |
19 | + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | ||
18 | rm -f /usr/local/bin/go || true | 20 | rm -f /usr/local/bin/go || true |
19 | rm -f /usr/local/bin/gofmt || true | 21 | rm -f /usr/local/bin/gofmt || true |
20 | brew upgrade | 22 | brew upgrade |