Skip to content

Commit

Permalink
Merge pull request #1136 from gatk555/actions_macos
Browse files Browse the repository at this point in the history
Revive Action test.yml.
  • Loading branch information
caryr authored Jun 13, 2024
2 parents 94d9d19 + 1aa6a15 commit 8ac44a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@ on:
- master
# All pull_requests trigger a retest.
pull_request:
workflow_dispatch:

jobs:

mac:
strategy:
fail-fast: false
runs-on: macos-latest
runs-on: macos-12
name: '🍏 macOS'
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
run: |
brew install bison
pip3 install docopt
pip3 install --break-system-packages docopt
- name: Build, check and install
run: |
Expand All @@ -48,7 +49,7 @@ jobs:
name: '🐧 Ubuntu ${{ matrix.os }}'
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
- run: git config --global core.autocrlf input
shell: bash

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: msys2/setup-msys2@v2
with:
Expand All @@ -102,7 +103,7 @@ jobs:
python-pip
mingw-w64-${{ matrix.arch }}-toolchain
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '>=3.5'

Expand All @@ -118,7 +119,7 @@ jobs:
run: |
./.github/test.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.msystem }}-${{ matrix.arch }}
path: msys2/*.zst
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ cscope.*

# Object files and libraries
*.[oa]
*.so

gmon*.out
gmon*.txt
Expand Down

0 comments on commit 8ac44a3

Please sign in to comment.