File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 3434 with :
3535 name : perf-stat
3636 path : perf-stat.zip
37+ macos-clang-build-perf-stats :
38+ runs-on : macOS-latest
39+ steps :
40+ - uses : actions/checkout@v4
41+ - name : Install Xcode
42+ uses : maxim-lobanov/setup-xcode@v1
43+ with :
44+ xcode-version : ' latest-stable'
45+ - name : Setup environment
46+ run : |
47+ brew update
48+ brew install ninja mpich llvm libomp openssl
49+ brew link libomp --overwrite --force
50+ python3 -m pip install -r requirements.txt --break-system-packages
51+ - name : Download installed package
52+ uses : actions/download-artifact@v4
53+ with :
54+ name : macos-clang-install
55+ - name : Extract installed package
56+ run : |
57+ mkdir -p install
58+ tar -xzvf macos-clang-install.tar.gz -C install
59+ - name : Run perf tests
60+ run : |
61+ bash -e scripts/generate_perf_results.sh
62+ env :
63+ PPC_NUM_PROC : 1
64+ PPC_NUM_THREADS : 2
65+ - name : Archive results
66+ working-directory : build
67+ run : zip -r perf-stat-macos.zip perf_stat_dir
68+ - name : Upload results
69+ uses : actions/upload-artifact@v4
70+ with :
71+ name : perf-stat-macos
72+ path : perf-stat-macos.zip
You can’t perform that action at this time.
0 commit comments