From 9fdc8f7a07469b1e47a8f28b0a6f7a7e04c705c9 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 5 Apr 2024 15:27:09 +0300 Subject: [PATCH] Introduce GHA build for Mac OS --- .github/workflows/build_mac.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build_mac.yml diff --git a/.github/workflows/build_mac.yml b/.github/workflows/build_mac.yml new file mode 100644 index 0000000..284d492 --- /dev/null +++ b/.github/workflows/build_mac.yml @@ -0,0 +1,31 @@ +name: Compile on latest macOS (Homebrew) + +on: + pull_request: + branches: [ "master" ] + +permissions: + issues: write + pull-requests: write + checks: write + +jobs: + build: + + runs-on: macos-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install dependencies + run: | + brew install git gcc cmake sqlite3 gcovr jpeg + + - name: Clone aquamarine repo + run: git clone --branch ${{ github.head_ref }} https://github.com/MaksymT17/aquamarine.git + + - name: Build artifacts with Cmake + run: | + cd aquamarine && + ./build.sh \ No newline at end of file