From 3bfc41b88037ce68a94f7afabcf57c594f7aa991 Mon Sep 17 00:00:00 2001 From: Susumu Yamazaki Date: Thu, 17 Jul 2025 16:27:22 +0900 Subject: [PATCH 1/2] ci: add macOS testing workflow and update platform support - Add GitHub Actions workflow for testing on macOS Sonoma (Apple Silicon) - Configure workflow to use Elixir 1.18.4 and OTP 28.0.1 - Update README.md to include macOS Sonoma in tested platforms list - Ensure cross-platform compatibility validation --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 37 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80c22cb..8f34b7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,3 +131,39 @@ jobs: run: mix deps.get - name: Run tests run: mix test + + build-and-test-macos: + strategy: + matrix: + include: + - os: macos-14-xlarge + elixir-version: '1.18.4' + otp-version: '28.0.1' + + name: Build and test on ${{ matrix.os }} ${{ matrix.elixir-version }} ${{ matrix.otp-version }} + needs: build-and-test-latest + runs-on: ${{ matrix.os }} + timeout-minutes: 5 + defaults: + run: + shell: bash + + steps: + - uses: actions/checkout@v4 + + - name: Set up Elixir + uses: jdx/mise-action@v2 + with: + version: '2025.7.2' + install: true + cache: true + experimental: true + log_level: debug + tool_versions: | + erlang: ${{ matrix.otp-version }} + elixir: ${{ matrix.elixir-version }} + + - name: Install dependencies + run: mix deps.get + - name: Run tests + run: mix test diff --git a/README.md b/README.md index ea4e8fd..bc0614a 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ be found at . * Ubuntu 22.04 / Elixir 1.15 / OTP 25 * Windows 2022 / Elixir 1.19 / OTP 28 * Windows 2022 / Elixir 1.18 / OTP 28 +* macOS Sonoma on Apple Silicon / Elixir 1.18 / OTP 28 ## License From 277d40fc86a295d78ca8c1bfa70611bb314dd8ed Mon Sep 17 00:00:00 2001 From: Susumu Yamazaki Date: Thu, 17 Jul 2025 16:31:08 +0900 Subject: [PATCH 2/2] chore: add "Sonoma" to spell checker dictionary Add "Sonoma" to the cspell.json word list to prevent false positive spell check errors when referencing macOS Sonoma in documentation and code. --- cspell.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index 6446404..6d093bf 100644 --- a/cspell.json +++ b/cspell.json @@ -9,6 +9,7 @@ "epmd", "myapp", "spellweaver", - "nstandard" + "nstandard", + "Sonoma" ] }