Skip to content

Commit

Permalink
[ci] trying to support multiple macos's
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-tierny committed Sep 9, 2024
1 parent 6617e3c commit aa70ae2
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/headless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ jobs:
# macOS #
# ----- #
build-macos:
runs-on: macos-12
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos12, macos-latest, macos-latest-large]
env:
CCACHE_DIR: /Users/runner/work/ttk/.ccache
CCACHE_MAXSIZE: 200M
Expand Down Expand Up @@ -112,7 +115,7 @@ jobs:
- name: Upload compressed binaries
uses: actions/upload-artifact@v3
with:
name: ttk-paraview-headless-macOS
name: ttk-paraview-headless-${{ matrix.os }}
path: build/ttk-paraview.tar.gz


Expand Down Expand Up @@ -237,14 +240,29 @@ jobs:
file: ttk-paraview-headless-ubuntu-24.04/ttk-paraview.deb
asset_name: ttk-paraview-headless-ubuntu-24.04.deb

- name: Upload MacOS 12 .tar.gz as Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ttk-paraview-headless-macos-12/ttk-paraview.tar.gz
asset_name: ttk-paraview-headless-macos-12.tar.gz

- name: Upload MacOS 14 .tar.gz as Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ttk-paraview-headless-macos-14-large/ttk-paraview.tar.gz
asset_name: ttk-paraview-headless-macos-14.tar.gz

- name: Upload .tar.gz as Release Asset
- name: Upload MacOS 14 (arm64) .tar.gz as Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ttk-paraview-headless-macOS/ttk-paraview.tar.gz
asset_name: ttk-paraview-headless.tar.gz
file: ttk-paraview-headless-macos-14/ttk-paraview.tar.gz
asset_name: ttk-paraview-headless-macos-14-arm64.tar.gz

- name: Upload .exe as Release Asset
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit aa70ae2

Please sign in to comment.