mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
enable for x86_64 too
This commit is contained in:
parent
f616c4b91d
commit
f71d4cfdaf
2 changed files with 25 additions and 0 deletions
20
.github/workflows/ci.yaml
vendored
20
.github/workflows/ci.yaml
vendored
|
|
@ -10,6 +10,26 @@ concurrency:
|
|||
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
|
||||
cancel-in-progress: true
|
||||
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:
|
||||
runs-on: [self-hosted, Linux, aarch64]
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -125,3 +125,8 @@ stage3/bin/zig build -p stage4 \
|
|||
--search-prefix "$PREFIX" \
|
||||
--zig-lib-dir "$(pwd)/../lib"
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue