Skip to content
Merged
Changes from 1 commit
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
37 changes: 37 additions & 0 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,40 @@ 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
- 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: 2
PPC_NUM_THREADS: 2
Comment thread
allnes marked this conversation as resolved.
Outdated
- name: Archive results
uses: montudor/action-zip@v1
with:
args: zip -qq -r perf-stat-macos.zip build/perf_stat_dir
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: perf-stat-macos
path: perf-stat-macos.zip
Loading