From 8527dd2d4c0f5a72d98d45d5858ace7462d8c47b Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Mon, 6 May 2024 11:11:46 -0700 Subject: [PATCH] add macos test step --- .gitea/workflows/jobs.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/jobs.yaml b/.gitea/workflows/jobs.yaml index c46d82b..c1d7a27 100644 --- a/.gitea/workflows/jobs.yaml +++ b/.gitea/workflows/jobs.yaml @@ -6,7 +6,7 @@ on: - master jobs: - test: + test-linux: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -27,6 +27,26 @@ jobs: make ./tests + test-macos: + runs-on: macos-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Install dependencies + run: | + brew install cmake + + - name: Build and test + run: | + mkdir build + cd build + cmake .. + make + ./tests + docs: runs-on: ubuntu-latest timeout-minutes: 5