enable for x86_64 too

This commit is contained in:
Andrew Kelley 2023-09-14 19:44:22 -07:00
parent f616c4b91d
commit f71d4cfdaf
2 changed files with 25 additions and 0 deletions

View file

@ -10,6 +10,26 @@ concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }} group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
x86_64-linux-release:
timeout-minutes: 420
runs-on: [self-hosted, Linux, x86_64]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and Test
run: sh ci/x86_64-linux-release.sh
- name: Post Perf Comment
uses: actions/github-script@v6
with:
script: |
const fs = require('fs');
const body = fs.readFileSync('build-new/perf.txt', 'utf8');
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: body,
});
aarch64-linux-release: aarch64-linux-release:
runs-on: [self-hosted, Linux, aarch64] runs-on: [self-hosted, Linux, aarch64]
steps: steps:

View file

@ -125,3 +125,8 @@ stage3/bin/zig build -p stage4 \
--search-prefix "$PREFIX" \ --search-prefix "$PREFIX" \
--zig-lib-dir "$(pwd)/../lib" --zig-lib-dir "$(pwd)/../lib"
stage4/bin/zig test ../test/behavior.zig -I../test stage4/bin/zig test ../test/behavior.zig -I../test
# After all correctness checking, compare performance against the merge-base.
cd ..
sh ci/measure-perf-delta.sh "$ZIG" "$TARGET" "$MCPU" "$PREFIX" || \
echo "$TARGET: Error occurred measuring the performance delta of this pull request." > build-new/perf.txt