|
6 | 6 | types: [opened, synchronize, reopened]
|
7 | 7 |
|
8 | 8 | jobs:
|
9 |
| - docker_linux_tier1: |
10 |
| - name: Docker Linux Tier1 |
| 9 | + style_check: |
| 10 | + name: Style check |
11 | 11 | runs-on: ubuntu-22.04
|
| 12 | + steps: |
| 13 | + - uses: actions/checkout@v4 |
| 14 | + - name: Setup Rust toolchain |
| 15 | + run: sh ./ci/install-rust.sh |
| 16 | + - name: Check style |
| 17 | + run: sh ci/style.sh |
| 18 | + |
| 19 | + build_channels_linux: |
| 20 | + name: Build Channels Linux |
| 21 | + runs-on: ubuntu-22.04 |
| 22 | + env: |
| 23 | + OS: linux |
| 24 | + strategy: |
| 25 | + fail-fast: true |
| 26 | + max-parallel: 5 |
| 27 | + matrix: |
| 28 | + toolchain: |
| 29 | + - stable |
| 30 | + - beta |
| 31 | + - nightly |
| 32 | + - 1.63.0 |
| 33 | + steps: |
| 34 | + - uses: actions/checkout@v4 |
| 35 | + - name: Setup Rust toolchain |
| 36 | + run: TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/install-rust.sh |
| 37 | + - name: Execute build.sh |
| 38 | + run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh |
| 39 | + |
| 40 | + build_channels_macos: |
| 41 | + name: Build Channels macOS |
| 42 | + needs: macos |
| 43 | + env: |
| 44 | + OS: macos |
12 | 45 | strategy:
|
13 | 46 | fail-fast: true
|
| 47 | + max-parallel: 4 |
14 | 48 | matrix:
|
15 | 49 | target:
|
16 |
| - - i686-unknown-linux-gnu |
17 |
| - - x86_64-unknown-linux-gnu |
| 50 | + - { toolchain: stable, os: macos-14 } |
| 51 | + - { toolchain: beta, os: macos-14 } |
| 52 | + - { toolchain: nightly, os: macos-14 } |
| 53 | + - { toolchain: 1.63.0, os: macos-14 } |
| 54 | + runs-on: ${{ matrix.target.os }} |
18 | 55 | steps:
|
19 | 56 | - uses: actions/checkout@v4
|
20 | 57 | - name: Setup Rust toolchain
|
21 |
| - run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh |
22 |
| - - name: Execute run-docker.sh |
23 |
| - run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }} |
| 58 | + run: TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/install-rust.sh |
| 59 | + - name: Execute build.sh |
| 60 | + run: LIBC_CI=1 TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh |
| 61 | + |
| 62 | + build_channels_windows: |
| 63 | + name: Build Channels Windows |
| 64 | + runs-on: windows-2022 |
| 65 | + env: |
| 66 | + OS: windows |
| 67 | + strategy: |
| 68 | + fail-fast: true |
| 69 | + matrix: |
| 70 | + toolchain: |
| 71 | + - 1.63.0 |
| 72 | + - stable |
| 73 | + steps: |
| 74 | + - uses: actions/checkout@v4 |
| 75 | + - name: Self-update rustup |
| 76 | + run: rustup self update |
| 77 | + shell: bash |
| 78 | + - name: Execute build.sh |
| 79 | + run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh |
| 80 | + shell: bash |
24 | 81 |
|
25 | 82 | macos:
|
26 | 83 | name: macOS
|
@@ -69,15 +126,22 @@ jobs:
|
69 | 126 | run: LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
|
70 | 127 | shell: bash
|
71 | 128 |
|
72 |
| - style_check: |
73 |
| - name: Style check |
| 129 | + |
| 130 | + docker_linux_tier1: |
| 131 | + name: Docker Linux Tier1 |
74 | 132 | runs-on: ubuntu-22.04
|
| 133 | + strategy: |
| 134 | + fail-fast: true |
| 135 | + matrix: |
| 136 | + target: |
| 137 | + - i686-unknown-linux-gnu |
| 138 | + - x86_64-unknown-linux-gnu |
75 | 139 | steps:
|
76 | 140 | - uses: actions/checkout@v4
|
77 | 141 | - name: Setup Rust toolchain
|
78 |
| - run: sh ./ci/install-rust.sh |
79 |
| - - name: Check style |
80 |
| - run: sh ci/style.sh |
| 142 | + run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh |
| 143 | + - name: Execute run-docker.sh |
| 144 | + run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }} |
81 | 145 |
|
82 | 146 | docker_linux_tier2:
|
83 | 147 | name: Docker Linux Tier2
|
@@ -119,70 +183,6 @@ jobs:
|
119 | 183 | - name: Execute run-docker.sh
|
120 | 184 | run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
|
121 | 185 |
|
122 |
| - build_channels_linux: |
123 |
| - name: Build Channels Linux |
124 |
| - needs: docker_linux_tier2 |
125 |
| - runs-on: ubuntu-22.04 |
126 |
| - env: |
127 |
| - OS: linux |
128 |
| - strategy: |
129 |
| - fail-fast: true |
130 |
| - max-parallel: 5 |
131 |
| - matrix: |
132 |
| - toolchain: |
133 |
| - - stable |
134 |
| - - beta |
135 |
| - - nightly |
136 |
| - - 1.63.0 |
137 |
| - steps: |
138 |
| - - uses: actions/checkout@v4 |
139 |
| - - name: Setup Rust toolchain |
140 |
| - run: TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/install-rust.sh |
141 |
| - - name: Execute build.sh |
142 |
| - run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh |
143 |
| - |
144 |
| - build_channels_macos: |
145 |
| - name: Build Channels macOS |
146 |
| - needs: macos |
147 |
| - env: |
148 |
| - OS: macos |
149 |
| - strategy: |
150 |
| - fail-fast: true |
151 |
| - max-parallel: 4 |
152 |
| - matrix: |
153 |
| - target: |
154 |
| - - { toolchain: stable, os: macos-14 } |
155 |
| - - { toolchain: beta, os: macos-14 } |
156 |
| - - { toolchain: nightly, os: macos-14 } |
157 |
| - - { toolchain: 1.63.0, os: macos-14 } |
158 |
| - runs-on: ${{ matrix.target.os }} |
159 |
| - steps: |
160 |
| - - uses: actions/checkout@v4 |
161 |
| - - name: Setup Rust toolchain |
162 |
| - run: TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/install-rust.sh |
163 |
| - - name: Execute build.sh |
164 |
| - run: LIBC_CI=1 TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh |
165 |
| - |
166 |
| - build_channels_windows: |
167 |
| - name: Build Channels Windows |
168 |
| - runs-on: windows-2022 |
169 |
| - env: |
170 |
| - OS: windows |
171 |
| - strategy: |
172 |
| - fail-fast: true |
173 |
| - matrix: |
174 |
| - toolchain: |
175 |
| - - 1.63.0 |
176 |
| - - stable |
177 |
| - steps: |
178 |
| - - uses: actions/checkout@v4 |
179 |
| - - name: Self-update rustup |
180 |
| - run: rustup self update |
181 |
| - shell: bash |
182 |
| - - name: Execute build.sh |
183 |
| - run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh |
184 |
| - shell: bash |
185 |
| - |
186 | 186 | check_cfg:
|
187 | 187 | name: "Check #[cfg]s"
|
188 | 188 | runs-on: ubuntu-22.04
|
|
0 commit comments