on master help sign in
CICD: sync with pastel, minor changes
commitfddd11a20548883707b31dc20ec727583d49a5e5 authorDavid Peter <mail@david-peter.de> dateMon 5 Jul 2021, 17:07 (5 years ago) parent8b37e62
1 file changed+14−13
.github/workflows/CICD.yml+14−13
.github/workflows/CICD.yml+14−13
@@ -18,8 +18,9 @@ jobs:
1818 name: Minimum supported rust version
1919 runs-on: ubuntu-18.04
2020 steps:
21− - name: Git checkout
21+ - name: Checkout source code
2222 uses: actions/checkout@v2
23+
2324 - name: Install rust toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})
2425 uses: actions-rs/toolchain@v1
2526 with:
@@ -94,17 +95,17 @@ jobs:
9495 fail-fast: false
9596 matrix:
9697 job:
97− - { os: ubuntu-18.04 , target: arm-unknown-linux-gnueabihf , use-cross: true }
98− - { os: ubuntu-18.04 , target: aarch64-unknown-linux-gnu , use-cross: true }
99− - { os: ubuntu-18.04 , target: i686-unknown-linux-gnu , use-cross: true }
100− - { os: ubuntu-18.04 , target: i686-unknown-linux-musl , use-cross: true }
101− - { os: ubuntu-18.04 , target: x86_64-unknown-linux-gnu }
102− - { os: ubuntu-18.04 , target: x86_64-unknown-linux-musl , use-cross: true }
103− - { os: macos-10.15 , target: x86_64-apple-darwin }
104− # - { os: windows-2019 , target: i686-pc-windows-gnu } ## disabled; error: linker `i686-w64-mingw32-gcc` not found
105− - { os: windows-2019 , target: i686-pc-windows-msvc }
106− - { os: windows-2019 , target: x86_64-pc-windows-gnu }
107− - { os: windows-2019 , target: x86_64-pc-windows-msvc }
98+ - { os: ubuntu-18.04, target: arm-unknown-linux-gnueabihf , use-cross: true }
99+ - { os: ubuntu-18.04, target: aarch64-unknown-linux-gnu , use-cross: true }
100+ - { os: ubuntu-18.04, target: i686-unknown-linux-gnu , use-cross: true }
101+ - { os: ubuntu-18.04, target: i686-unknown-linux-musl , use-cross: true }
102+ - { os: ubuntu-18.04, target: x86_64-unknown-linux-gnu }
103+ - { os: ubuntu-18.04, target: x86_64-unknown-linux-musl , use-cross: true }
104+ - { os: macos-10.15 , target: x86_64-apple-darwin }
105+ # - { os: windows-2019, target: i686-pc-windows-gnu } ## disabled; error: linker `i686-w64-mingw32-gcc` not found
106+ - { os: windows-2019, target: i686-pc-windows-msvc }
107+ - { os: windows-2019, target: x86_64-pc-windows-gnu }
108+ - { os: windows-2019, target: x86_64-pc-windows-msvc }
108109 steps:
109110 - name: Checkout source code
110111 uses: actions/checkout@v2
@@ -120,7 +121,7 @@ jobs:
120121 - name: Extract crate information
121122 shell: bash
122123 run: |
123− echo "PROJECT_NAME=$(sed -n 's/^name = "\(.*\)"/\1/p' Cargo.toml)" >> $GITHUB_ENV
124+ echo "PROJECT_NAME=$(sed -n 's/^name = "\(.*\)"/\1/p' Cargo.toml | head -n1)" >> $GITHUB_ENV
124125 echo "PROJECT_VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -n1)" >> $GITHUB_ENV
125126 echo "PROJECT_MAINTAINER=$(sed -n 's/^authors = \["\(.*\)"\]/\1/p' Cargo.toml)" >> $GITHUB_ENV
126127 echo "PROJECT_HOMEPAGE=$(sed -n 's/^homepage = "\(.*\)"/\1/p' Cargo.toml)" >> $GITHUB_ENV