File tree Expand file tree Collapse file tree 2 files changed +58
-183
lines changed
Expand file tree Collapse file tree 2 files changed +58
-183
lines changed Original file line number Diff line number Diff line change 1+ name : Build Mac
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ build :
8+ name : Build
9+
10+ strategy :
11+ fail-fast : false
12+
13+ runs-on : macos-15
14+
15+ env :
16+ SCCACHE_GHA_ENABLED : true
17+ CMAKE_C_COMPILER_LAUNCHER : sccache
18+ CMAKE_CXX_COMPILER_LAUNCHER : sccache
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v6.0.1
23+ with :
24+ lfs : true
25+
26+ - name : Setup sccache
27+ uses : mozilla-actions/sccache-action@v0.0.9
28+
29+ - name : Configure sccache
30+ uses : actions/github-script@v8
31+ with :
32+ script : |
33+ core.exportVariable('ACTIONS_RESULTS_URL', process.env.ACTIONS_RESULTS_URL || '');
34+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
35+
36+ - name : Setup cmake
37+ uses : lukka/get-cmake@v4.2.1
38+ with :
39+ cmakeVersion : " 4.2.1"
40+
41+ - name : Configure environment
42+ continue-on-error : true
43+ run : |
44+ echo "Installing dependencies..."
45+ brew install gnu-tar
46+ echo "Getting python..."
47+ ./python/get_python.sh
48+ echo "Installing additional python dependencies..."
49+ ./python/pip.sh install tempfile2 PyGithub
50+
51+ - name : Build (Profile)
52+ timeout-minutes : 330
53+ run : |
54+ export LY_3RDPARTY_PATH=${{ github.workspace }}/3rdParty
55+ export LY_PACKAGE_SERVER_URLS="https://d1gg6ket0m44ly.cloudfront.net;https://d3t6xeg4fgfoum.cloudfront.net"
56+ export CMAKE_C_COMPILER_LAUNCHER=sccache
57+ export CMAKE_CXX_COMPILER_LAUNCHER=sccache
58+ python/python.sh -u scripts/build/ci_build.py --platform Mac --type profile
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments