From a8bd7ac7232765587779c12fab4644f4f2bccd5b Mon Sep 17 00:00:00 2001 From: Ryan Mast <3969255+nightlark@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:01:55 -0800 Subject: [PATCH] Add macOS CI jobs (#310) --- .github/workflows/test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fe728c06..d34bdcc3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,12 +4,18 @@ on: [push] jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, macos-latest] version: ['Release', 'Debug'] steps: - uses: actions/checkout@v3 - - run: sudo apt-get install libsqlite3-dev + - name: Install dependencies (Ubuntu) + if: runner.os == 'Linux' + run: sudo apt-get install libsqlite3-dev + - name: Install dependencies (macOS) + if: runner.os == 'macOS' + run: brew install sqlite3 - run: uname -a; BUILDTYPE=${{ matrix.version }} make - run: make test