forked from Banderi/Ozymandias
-
-
Notifications
You must be signed in to change notification settings - Fork 16
35 lines (33 loc) · 896 Bytes
/
akhenaten_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
name: Akhenaten Build Mac
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: run on mac
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: update-workspace
run: |
brew install llvm@15
whereis clang++
export CC=/usr/local/opt/llvm@15/bin/clang
export CXX=/usr/local/opt/llvm@15/bin/clang++
export CXXFLAGS=-stdlib=libc++
./update-workspace-mac.sh
git submodule init && git submodule update ext/cpptrace
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
cd ..
cmake --build ./build -j6
mkdir macos_build
cp -R ./build/akhenaten.app ./macos_build/akhenaten.app
- uses: actions/upload-artifact@v3
with:
name: macos_build
path: macos_build