Skip to content

Commit 5e5d6dd

Browse files
committed
ci: update ci config
1 parent 21a5385 commit 5e5d6dd

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/CICD.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
job:
19-
# { os, target, cargo-options, features, use-cross, toolchain }
2019
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , use-cross: use-cross }
21-
- { os: ubuntu-18.04 , target: aarch64-unknown-linux-gnu , use-cross: use-cross }
22-
- { os: ubuntu-18.04 , target: i686-unknown-linux-gnu , use-cross: use-cross }
23-
- { os: ubuntu-18.04 , target: i686-unknown-linux-musl , use-cross: use-cross }
24-
- { os: ubuntu-18.04 , target: x86_64-unknown-linux-gnu , use-cross: use-cross }
25-
- { os: ubuntu-18.04 , target: x86_64-unknown-linux-musl , use-cross: use-cross }
26-
- { os: ubuntu-16.04 , target: x86_64-unknown-linux-gnu , use-cross: use-cross }
20+
- { os: ubuntu-latest , target: aarch64-unknown-linux-gnu , use-cross: use-cross }
21+
- { os: ubuntu-latest , target: i686-unknown-linux-gnu , use-cross: use-cross }
22+
- { os: ubuntu-latest , target: i686-unknown-linux-musl , use-cross: use-cross }
23+
- { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , use-cross: use-cross }
24+
- { os: ubuntu-latest , target: x86_64-unknown-linux-musl , use-cross: use-cross }
2725
- { os: macos-latest , target: x86_64-apple-darwin }
2826
# - { os: windows-latest , target: i686-pc-windows-msvc }
2927
- { os: windows-latest , target: x86_64-pc-windows-msvc }
@@ -41,14 +39,6 @@ jobs:
4139
id: vars
4240
shell: bash
4341
run: |
44-
# toolchain
45-
TOOLCHAIN="stable" ## default to "stable" toolchain
46-
# * specify alternate TOOLCHAIN for *-pc-windows-gnu targets; gnu targets on Windows are broken for the standard *-pc-windows-msvc toolchain (refs: <https://github.com/rust-lang/rust/issues/47048>, <https://github.com/rust-lang/rust/issues/53454>, <https://github.com/rust-lang/cargo/issues/6754>)
47-
case ${{ matrix.job.target }} in *-pc-windows-gnu) TOOLCHAIN="stable-${{ matrix.job.target }}" ;; esac;
48-
# * use requested TOOLCHAIN if specified
49-
if [ -n "${{ matrix.job.toolchain }}" ]; then TOOLCHAIN="${{ matrix.job.toolchain }}" ; fi
50-
echo set-output name=TOOLCHAIN::${TOOLCHAIN}
51-
echo ::set-output name=TOOLCHAIN::${TOOLCHAIN}
5242
# staging directory
5343
STAGING='_staging'
5444
echo set-output name=STAGING::${STAGING}

0 commit comments

Comments
 (0)