Skip to content

Commit

Permalink
gha/macos: Updated the CI configuration for the Node.js and OS image …
Browse files Browse the repository at this point in the history
…deprecation
  • Loading branch information
dragonmux committed Oct 14, 2024
1 parent 70892c3 commit 8b61a53
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
os:
- macos-12
- macos-11
- macos-13
build_opts:
- ''
include:
Expand All @@ -41,7 +41,7 @@ jobs:
run: |
echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
submodules: true
Expand Down Expand Up @@ -75,14 +75,14 @@ jobs:
ninja -C build coverage-xml
- name: Upload failure logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}-appleclang
path: ${{ github.workspace }}/build/meson-logs/*
retention-days: 5
- name: Codecov
if: success() && github.repository == 'blackmagic-debug/bmpflash'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ./build/meson-logs/
files: coverage.xml
Expand All @@ -100,9 +100,10 @@ jobs:
strategy:
matrix:
os:
- macos-11
- macos-latest
compiler:
- gcc@9
- gcc@10
- gcc@11
- gcc@12
- gcc@13 # needs hardcoding for the GCOV replacement
Expand All @@ -126,7 +127,7 @@ jobs:
env:
COMPILER: ${{ matrix.compiler }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
submodules: true
Expand Down Expand Up @@ -162,14 +163,14 @@ jobs:
ninja -C build coverage-xml
- name: Upload failure logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}-homebrew-${{ matrix.compiler }}
path: ${{ github.workspace }}/build/meson-logs/*
retention-days: 5
- name: Codecov
if: success() && github.repository == 'blackmagic-debug/bmpflash'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ./build/meson-logs/
files: coverage.xml
Expand Down

0 comments on commit 8b61a53

Please sign in to comment.