Skip to content

Commit 93affc1

Browse files
committed
1 parent 9698c24 commit 93affc1

File tree

2 files changed

+38
-7
lines changed

2 files changed

+38
-7
lines changed

.github/workflows/build.yaml

+35-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-22.04, macos-11, windows-2022]
15+
os:
16+
- ubuntu-22.04
17+
- macos-11 # Intel
18+
- macos-13-xlarge # Apple silicon
19+
- windows-2022
1620
ghc-version:
1721
- "8.8"
1822
- "8.10"
@@ -23,6 +27,12 @@ jobs:
2327
ghc-version: "8.10"
2428
- os: macos-11
2529
ghc-version: "9.0"
30+
- os: macos-13-xlarge
31+
ghc-version: "8.8"
32+
- os: macos-13-xlarge
33+
ghc-version: "8.10"
34+
- os: macos-13-xlarge
35+
ghc-version: "9.0"
2636
- os: windows-2022
2737
ghc-version: "8.10"
2838
- os: windows-2022
@@ -52,6 +62,12 @@ jobs:
5262
%APPDATA%\cabal\store
5363
%APPDATA%\stack
5464
key: stack-${{ matrix.os }}-ghc-${{ matrix.version }}
65+
- name: Install Haskell Stack (if not installed)
66+
shell: bash
67+
run: |
68+
if ! command -v stack > /dev/null; then
69+
curl -sSL https://get.haskellstack.org/ | sh
70+
fi
5571
- name: Set up resolver
5672
shell: bash
5773
run: |
@@ -148,7 +164,11 @@ jobs:
148164
strategy:
149165
fail-fast: false
150166
matrix:
151-
os: [ubuntu-22.04, macos-11, windows-2022]
167+
os:
168+
- ubuntu-22.04
169+
- macos-11 # Intel
170+
- macos-13-xlarge # Apple silicon
171+
- windows-2022
152172
steps:
153173
- uses: actions/checkout@v3
154174
- uses: denoland/setup-deno@v1
@@ -309,10 +329,14 @@ jobs:
309329
runs-on: ubuntu-22.04
310330
steps:
311331
- uses: actions/checkout@v3
332+
- uses: actions/download-artifact@v3
333+
with:
334+
name: binaries-macos-13-xlarge-ghc-9.2
335+
path: /tmp/binaries-macos-arm64
312336
- uses: actions/download-artifact@v3
313337
with:
314338
name: binaries-macos-11-ghc-9.2
315-
path: /tmp/binaries-macos
339+
path: /tmp/binaries-macos-x86_64
316340
- uses: actions/download-artifact@v3
317341
with:
318342
name: binaries-windows-2022-ghc-9.2
@@ -332,8 +356,14 @@ jobs:
332356
cp "$GITHUB_WORKSPACE/"{LICENSE,README.md,CHANGES.md} ./
333357
tar cvfj /tmp/dists/seonbi.linux-x86_64.tar.bz2 *
334358
popd
335-
# macOS
336-
pushd /tmp/binaries-macos
359+
# macOS (Apple silicon)
360+
pushd /tmp/binaries-macos-arm64
361+
chmod +x *
362+
cp "$GITHUB_WORKSPACE/"{LICENSE,README.md,CHANGES.md} ./
363+
tar cvfj /tmp/dists/seonbi.macos-arm64.tar.bz2 *
364+
popd
365+
# macOS (Intel)
366+
pushd /tmp/binaries-macos-x86_64
337367
chmod +x *
338368
cp "$GITHUB_WORKSPACE/"{LICENSE,README.md,CHANGES.md} ./
339369
tar cvfj /tmp/dists/seonbi.macos-x86_64.tar.bz2 *

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ programming. For such end-users, here's the list of end-user apps:
9595
Installation
9696
------------
9797

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

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

0 commit comments

Comments
 (0)