Skip to content

Commit f3c9718

Browse files
committed
forces CI to test on multiple platforms
1 parent 1e36e08 commit f3c9718

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

.github/workflows/ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,38 @@ jobs:
6060
env:
6161
ENABLE_GCC_CODEGEN: "1"
6262
os: ubuntu-20.04-16core-64gb
63+
- name: aarch64-gnu
64+
os:
65+
- self-hosted
66+
- ARM64
67+
- linux
6368
- name: x86_64-gnu-tools
6469
os: ubuntu-20.04-16core-64gb
6570
env: {}
71+
- name: dist-x86_64-freebsd
72+
os: ubuntu-20.04-8core-32gb
73+
env: {}
74+
- name: dist-x86_64-illumos
75+
os: ubuntu-20.04-8core-32gb
76+
env: {}
77+
- name: dist-x86_64-apple
78+
env:
79+
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
80+
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
81+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
82+
MACOSX_DEPLOYMENT_TARGET: 10.12
83+
SELECT_XCODE: /Applications/Xcode_13.4.1.app
84+
NO_LLVM_ASSERTIONS: 1
85+
NO_DEBUG_ASSERTIONS: 1
86+
NO_OVERFLOW_CHECKS: 1
87+
DIST_REQUIRE_ALL_TOOLS: 1
88+
CODEGEN_BACKENDS: "llvm,cranelift"
89+
os: macos-13
90+
- name: x86_64-msvc
91+
env:
92+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
93+
SCRIPT: make ci-msvc
94+
os: windows-2019-8core-32gb
6695
timeout-minutes: 600
6796
runs-on: "${{ matrix.os }}"
6897
steps:

src/ci/github-actions/ci.yml

+32
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,41 @@ jobs:
339339
ENABLE_GCC_CODEGEN: "1"
340340
<<: *job-linux-16c
341341

342+
# added for testing purposes
343+
# REMOVE BEFORE MERGE
344+
345+
- name: aarch64-gnu
346+
<<: *job-aarch64-linux
347+
342348
- name: x86_64-gnu-tools
343349
<<: *job-linux-16c
344350

351+
- name: dist-x86_64-freebsd
352+
<<: *job-linux-8c
353+
354+
- name: dist-x86_64-illumos
355+
<<: *job-linux-8c
356+
357+
- name: dist-x86_64-apple
358+
env:
359+
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
360+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin
361+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
362+
MACOSX_DEPLOYMENT_TARGET: 10.12
363+
SELECT_XCODE: /Applications/Xcode_13.4.1.app
364+
NO_LLVM_ASSERTIONS: 1
365+
NO_DEBUG_ASSERTIONS: 1
366+
NO_OVERFLOW_CHECKS: 1
367+
DIST_REQUIRE_ALL_TOOLS: 1
368+
CODEGEN_BACKENDS: llvm,cranelift
369+
<<: *job-macos-xl
370+
371+
- name: x86_64-msvc
372+
env:
373+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
374+
SCRIPT: make ci-msvc
375+
<<: *job-windows-8c
376+
345377
auto:
346378
<<: *base-ci-job
347379
name: auto - ${{ matrix.name }}

0 commit comments

Comments
 (0)