wip #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
macos: | |
name: "Run" | |
strategy: | |
fail-fast: false | |
matrix: | |
image: ["sonoma-xcode:15.2-xl", "runner:sonoma-xl"] | |
runs-on: ["ghcr.io/cirruslabs/macos-${{ matrix.image }}", "low-priority"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Xcode Select Version | |
uses: mobiledevops/xcode-select-version-action@v1 | |
with: | |
xcode-select-version: 15.2 | |
- name: macOS version | |
run: sw_vers | |
- name: Xcodes list | |
run: xcodes installed | |
- name: Uptime | |
run: uptime | |
- name: Check xclogparser | |
run: ./xclogparser-0.23.8 --help | |
- name: Run benchmark | |
run: sh benchmark.sh | |
- name: Sanitize image name | |
run: echo "SANITIZED_IMAGE=$(echo ${{ matrix.image }} | sed 's/:/-/g')" >> $GITHUB_ENV | |
- name: Save report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "${{ env.SANITIZED_IMAGE }}.report.json" | |
path: report.json |