Skip to content

Commit

Permalink
Merge branch 'main' into update-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ptoffy authored Mar 30, 2024
2 parents d13a9a7 + 4312901 commit 366cae2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
container: swift:jammy
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: jemalloc dependency
run: apt-get update && apt-get install -y libjemalloc-dev
- name: Fix Git config
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
git fetch origin main:main --quiet
- name: Run benchmarks for PR branch
continue-on-error: true
run: |
cd Benchmarks
swift package -c release --disable-sandbox benchmark baseline update pull_request --no-progress --quiet
Expand All @@ -37,5 +39,5 @@ jobs:
- uses: thollander/actions-comment-pull-request@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: ${{ format('[PR benchmark comparison Linux|main]({0}/{1}/actions/runs/{2})', github.server_url, github.repository, github.run_id) }}
message: ${{ format('[PR benchmark comparison with main on ubuntu-latest run at {0}]({1}/{2}/actions/runs/{3})', steps.get-date.outputs.date, github.server_url, github.repository, github.run_id) }}
comment_tag: 'PR benchmark comparison Linux'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Package.resolved
DerivedData
.swiftpm
Tests/LinuxMain.swift

.benchmarkBaselines/
Benchmarks/.benchmarkBaselines/

0 comments on commit 366cae2

Please sign in to comment.