Skip to content

Commit

Permalink
Give macos-13-xlarge a try on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Oct 2, 2023
1 parent 9698c24 commit 93affc1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 7 deletions.
40 changes: 35 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-11, windows-2022]
os:
- ubuntu-22.04
- macos-11 # Intel
- macos-13-xlarge # Apple silicon
- windows-2022
ghc-version:
- "8.8"
- "8.10"
Expand All @@ -23,6 +27,12 @@ jobs:
ghc-version: "8.10"
- os: macos-11
ghc-version: "9.0"
- os: macos-13-xlarge
ghc-version: "8.8"
- os: macos-13-xlarge
ghc-version: "8.10"
- os: macos-13-xlarge
ghc-version: "9.0"
- os: windows-2022
ghc-version: "8.10"
- os: windows-2022
Expand Down Expand Up @@ -52,6 +62,12 @@ jobs:
%APPDATA%\cabal\store
%APPDATA%\stack
key: stack-${{ matrix.os }}-ghc-${{ matrix.version }}
- name: Install Haskell Stack (if not installed)
shell: bash
run: |
if ! command -v stack > /dev/null; then
curl -sSL https://get.haskellstack.org/ | sh
fi
- name: Set up resolver
shell: bash
run: |
Expand Down Expand Up @@ -148,7 +164,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-11, windows-2022]
os:
- ubuntu-22.04
- macos-11 # Intel
- macos-13-xlarge # Apple silicon
- windows-2022
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
Expand Down Expand Up @@ -309,10 +329,14 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: binaries-macos-13-xlarge-ghc-9.2
path: /tmp/binaries-macos-arm64
- uses: actions/download-artifact@v3
with:
name: binaries-macos-11-ghc-9.2
path: /tmp/binaries-macos
path: /tmp/binaries-macos-x86_64
- uses: actions/download-artifact@v3
with:
name: binaries-windows-2022-ghc-9.2
Expand All @@ -332,8 +356,14 @@ jobs:
cp "$GITHUB_WORKSPACE/"{LICENSE,README.md,CHANGES.md} ./
tar cvfj /tmp/dists/seonbi.linux-x86_64.tar.bz2 *
popd
# macOS
pushd /tmp/binaries-macos
# macOS (Apple silicon)
pushd /tmp/binaries-macos-arm64
chmod +x *
cp "$GITHUB_WORKSPACE/"{LICENSE,README.md,CHANGES.md} ./
tar cvfj /tmp/dists/seonbi.macos-arm64.tar.bz2 *
popd
# macOS (Intel)
pushd /tmp/binaries-macos-x86_64
chmod +x *
cp "$GITHUB_WORKSPACE/"{LICENSE,README.md,CHANGES.md} ./
tar cvfj /tmp/dists/seonbi.macos-x86_64.tar.bz2 *
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ programming. For such end-users, here's the list of end-user apps:
Installation
------------

Seonbi provides official executable binaries for Linux (x86_64), macOS,
and Windows (64-bit). You can download them from the [releases] page.
Seonbi provides official executable binaries for Linux (x86_64), macOS (Apple
silicon & Intel), and Windows (64-bit). You can download them from
the [releases] page.

If you prefer [Scoop] on Windows use the Seonbi official bucket:

Expand Down

0 comments on commit 93affc1

Please sign in to comment.