Skip to content

Commit

Permalink
Run macOS CI on pushes and pull requests (jonas#1144)
Browse files Browse the repository at this point in the history
Previously macOS CI only ran on master pushes.  We already run six
Linux configurations on each push, so test at least the macOS
defaults as well.
  • Loading branch information
krobelus authored Oct 4, 2021
1 parent 6f609b1 commit 925d331
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: macOS

on:
push:
branches: [ master ]
on: [push, pull_request]

jobs:
install:
runs-on: macos-latest
if: github.ref == 'refs/heads/master'

strategy:
matrix:
Expand Down Expand Up @@ -36,3 +35,15 @@ jobs:
- name: Install latest Tig
shell: 'script -q typescript sh {0}' # Workaround to get a TTY, see https://github.com/gfx/example-github-actions-with-tty
run: HOMEBREW_CC=${{ matrix.compiler }} HOMEBREW_NO_AUTO_UPDATE=1 brew install --HEAD tig

ci:
runs-on: macos-latest
if: github.ref != 'refs/heads/master'

steps:
- uses: actions/checkout@v2
- name: Test Tig
shell: 'script -q typescript sh {0}' # Workaround to get a TTY, see https://github.com/gfx/example-github-actions-with-tty
run: |
brew install asciidoc autoconf automake coreutils gnu-sed ncurses xmlto
TIG_BUILD=autoconf tools/travis.sh

0 comments on commit 925d331

Please sign in to comment.