Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fce629d

Browse files
committedMar 15, 2023
Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into sync_cg_clif-2023-03-15
2 parents 992d154 + dec0daa commit fce629d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+873
-792
lines changed
 
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Abi-cafe
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
abi_cafe:
8+
runs-on: ${{ matrix.os }}
9+
timeout-minutes: 60
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.env.TARGET_TRIPLE }}
12+
cancel-in-progress: true
13+
14+
defaults:
15+
run:
16+
shell: bash
17+
18+
strategy:
19+
fail-fast: true
20+
matrix:
21+
include:
22+
- os: ubuntu-latest
23+
env:
24+
TARGET_TRIPLE: x86_64-unknown-linux-gnu
25+
- os: macos-latest
26+
env:
27+
TARGET_TRIPLE: x86_64-apple-darwin
28+
- os: windows-latest
29+
env:
30+
TARGET_TRIPLE: x86_64-pc-windows-msvc
31+
- os: windows-latest
32+
env:
33+
TARGET_TRIPLE: x86_64-pc-windows-gnu
34+
35+
steps:
36+
- uses: actions/checkout@v3
37+
38+
- name: Cache cargo target dir
39+
uses: actions/cache@v3
40+
with:
41+
path: build/cg_clif
42+
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
43+
44+
- name: Set MinGW as the default toolchain
45+
if: matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
46+
run: rustup set default-host x86_64-pc-windows-gnu
47+
48+
- name: Use sparse cargo registry
49+
run: |
50+
cat >> ~/.cargo/config.toml <<EOF
51+
[unstable]
52+
sparse-registry = true
53+
EOF
54+
55+
- name: Prepare dependencies
56+
run: ./y.rs prepare
57+
58+
- name: Build
59+
run: ./y.rs build --sysroot none
60+
61+
- name: Test abi-cafe
62+
env:
63+
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
64+
run: ./y.rs abi-cafe

‎compiler/rustc_codegen_cranelift/.github/workflows/main.yml

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
rustfmt --check build_system/mod.rs
2323
2424
25-
build:
25+
test:
2626
runs-on: ${{ matrix.os }}
2727
timeout-minutes: 60
2828

@@ -114,63 +114,6 @@ jobs:
114114
run: ./y.rs test
115115

116116

117-
abi_cafe:
118-
runs-on: ${{ matrix.os }}
119-
timeout-minutes: 60
120-
121-
defaults:
122-
run:
123-
shell: bash
124-
125-
strategy:
126-
fail-fast: true
127-
matrix:
128-
include:
129-
- os: ubuntu-latest
130-
env:
131-
TARGET_TRIPLE: x86_64-unknown-linux-gnu
132-
- os: macos-latest
133-
env:
134-
TARGET_TRIPLE: x86_64-apple-darwin
135-
- os: windows-latest
136-
env:
137-
TARGET_TRIPLE: x86_64-pc-windows-msvc
138-
- os: windows-latest
139-
env:
140-
TARGET_TRIPLE: x86_64-pc-windows-gnu
141-
142-
steps:
143-
- uses: actions/checkout@v3
144-
145-
- name: Cache cargo target dir
146-
uses: actions/cache@v3
147-
with:
148-
path: build/cg_clif
149-
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
150-
151-
- name: Set MinGW as the default toolchain
152-
if: matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
153-
run: rustup set default-host x86_64-pc-windows-gnu
154-
155-
- name: Use sparse cargo registry
156-
run: |
157-
cat >> ~/.cargo/config.toml <<EOF
158-
[unstable]
159-
sparse-registry = true
160-
EOF
161-
162-
- name: Prepare dependencies
163-
run: ./y.rs prepare
164-
165-
- name: Build
166-
run: ./y.rs build --sysroot none
167-
168-
- name: Test abi-cafe
169-
env:
170-
TARGET_TRIPLE: ${{ matrix.env.TARGET_TRIPLE }}
171-
run: ./y.rs abi-cafe
172-
173-
174117
bench:
175118
runs-on: ubuntu-latest
176119
timeout-minutes: 60

0 commit comments

Comments
 (0)
Please sign in to comment.