-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 971 Bytes
/
build_mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: MacOS build (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: Checkout aquamarine repo
uses: actions/checkout@v3
with:
repository: MaksymT17/aquamarine
ref: ${{ github.head_ref }}
path: aquamarine
- name: Build artifacts with Cmake
run: |
cd aquamarine &&
./build.sh
- name: Run unit test
run: |
cd aquamarine/unit_tests &&
./prepare_build.sh &&
cd build &&
make -j8 &&
./aquamarine_ut
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: aquamarine_build_MacOS
path: aquamarine/build