Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,39 @@ jobs:
with:
name: perf-stat
path: perf-stat.zip
macos-clang-build-perf-stats:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Install Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest-stable'
- name: Setup environment
run: |
brew update
brew install ninja mpich llvm libomp openssl
brew link libomp --overwrite --force
python3 -m pip install -r requirements.txt --break-system-packages
- name: Download installed package
uses: actions/download-artifact@v4
with:
name: macos-clang-install
- name: Extract installed package
run: |
mkdir -p install
tar -xzvf macos-clang-install.tar.gz -C install
- name: Run perf tests
run: |
bash -e scripts/generate_perf_results.sh
env:
PPC_NUM_PROC: 1
PPC_NUM_THREADS: 2
- name: Archive results
working-directory: build
run: zip -r perf-stat-macos.zip perf_stat_dir
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: perf-stat-macos
path: perf-stat-macos.zip
Loading