Merge pull request #1136 from gatk555/actions_macos

Revive Action test.yml.
This commit is contained in:
Cary R 2024-06-13 06:40:20 -07:00 committed by GitHub
commit 8ac44a38b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 7 deletions

View File

@ -7,22 +7,23 @@ on:
- master - master
# All pull_requests trigger a retest. # All pull_requests trigger a retest.
pull_request: pull_request:
workflow_dispatch:
jobs: jobs:
mac: mac:
strategy: strategy:
fail-fast: false fail-fast: false
runs-on: macos-latest runs-on: macos-12
name: '🍏 macOS' name: '🍏 macOS'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
brew install bison brew install bison
pip3 install docopt pip3 install --break-system-packages docopt
- name: Build, check and install - name: Build, check and install
run: | run: |
@ -48,7 +49,7 @@ jobs:
name: '🐧 Ubuntu ${{ matrix.os }}' name: '🐧 Ubuntu ${{ matrix.os }}'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -89,7 +90,7 @@ jobs:
- run: git config --global core.autocrlf input - run: git config --global core.autocrlf input
shell: bash shell: bash
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2 - uses: msys2/setup-msys2@v2
with: with:
@ -102,7 +103,7 @@ jobs:
python-pip python-pip
mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-toolchain
- uses: actions/setup-python@v4 - uses: actions/setup-python@v5
with: with:
python-version: '>=3.5' python-version: '>=3.5'
@ -118,7 +119,7 @@ jobs:
run: | run: |
./.github/test.sh ./.github/test.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.msystem }}-${{ matrix.arch }} name: ${{ matrix.msystem }}-${{ matrix.arch }}
path: msys2/*.zst path: msys2/*.zst

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ cscope.*
# Object files and libraries # Object files and libraries
*.[oa] *.[oa]
*.so
gmon*.out gmon*.out
gmon*.txt gmon*.txt