Skip to content

Commit 5503dd9

Browse files
[do not merge] try build
1 parent 9a3c024 commit 5503dd9

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/workflows/ci.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,16 @@ jobs:
528528
strategy:
529529
matrix:
530530
include:
531-
- name: dist-x86_64-linux
532-
os: ubuntu-latest-xl
533-
env: {}
531+
- name: dist-x86_64-apple
532+
env:
533+
SCRIPT: "./x.py dist --exclude src/doc --exclude extended && ./x.py dist --target=x86_64-apple-darwin src/doc && ./x.py dist extended"
534+
RUST_CONFIGURE_ARGS: "--host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
535+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
536+
MACOSX_DEPLOYMENT_TARGET: 10.7
537+
NO_LLVM_ASSERTIONS: 1
538+
NO_DEBUG_ASSERTIONS: 1
539+
DIST_REQUIRE_ALL_TOOLS: 1
540+
os: macos-latest
534541
timeout-minutes: 600
535542
runs-on: "${{ matrix.os }}"
536543
steps:

src/ci/github-actions/ci.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,17 @@ jobs:
668668
strategy:
669669
matrix:
670670
include:
671-
- *dist-x86_64-linux
671+
- name: dist-x86_64-apple
672+
env:
673+
SCRIPT: ./x.py dist --exclude src/doc --exclude extended && ./x.py dist --target=x86_64-apple-darwin src/doc && ./x.py dist extended
674+
RUST_CONFIGURE_ARGS: --host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
675+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
676+
MACOSX_DEPLOYMENT_TARGET: 10.7
677+
NO_LLVM_ASSERTIONS: 1
678+
NO_DEBUG_ASSERTIONS: 1
679+
DIST_REQUIRE_ALL_TOOLS: 1
680+
<<: *job-macos-xl
681+
672682

673683
master:
674684
name: master

0 commit comments

Comments
 (0)