CI: auto reformat YAML

Signed-off-by: Artem Panfilov <artemp@synopsys.com>
This commit is contained in:
Artem Panfilov 2022-02-18 11:47:46 +03:00 committed by Chris Packham
parent 74d6f26b46
commit 5ea8f0f524

View File

@ -9,10 +9,7 @@ jobs:
runs-on: ${{ matrix.host }}
strategy:
matrix:
host: [
"ubuntu-latest",
"macos-10.15",
]
host: [ "ubuntu-latest", "macos-10.15" ]
steps:
- name: "clone"
uses: actions/checkout@v2
@ -54,9 +51,7 @@ jobs:
runs-on: ${{ matrix.host }}
strategy:
matrix:
host: [
"ubuntu-latest",
]
host: [ "ubuntu-latest" ]
steps:
- name: "download ct-ng"
uses: actions/download-artifact@v2
@ -93,53 +88,51 @@ jobs:
path: src.tar
toolchains:
needs: [crosstool, tarballs]
needs: [ crosstool, tarballs ]
runs-on: ${{ matrix.host }}
strategy:
matrix:
host: [
"ubuntu-latest",
"macos-10.15",
]
sample: [
"aarch64-unknown-linux-gnu",
"arc-multilib-elf32",
"arc-multilib-linux-gnu",
"arc-multilib-linux-uclibc",
"arm-picolibc-eabi",
"arm-unknown-linux-gnueabi",
"arm-unknown-linux-musleabi",
"armv6-nommu-linux-uclibcgnueabi",
"avr",
"i686-w64-mingw32",
"mips-unknown-elf",
"mips-unknown-linux-gnu",
"mips64-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"powerpc64-unknown-linux-gnu",
"riscv32-unknown-elf",
"riscv64-unknown-elf",
"s390-unknown-linux-gnu",
"sh-unknown-elf",
"sparc-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-multilib-linux-uclibc",
"x86_64-w64-mingw32",
"xtensa-fsf-linux-uclibc"
]
host: [ "ubuntu-latest", "macos-10.15" ]
sample:
[
"aarch64-unknown-linux-gnu",
"arc-multilib-elf32",
"arc-multilib-linux-gnu",
"arc-multilib-linux-uclibc",
"arm-picolibc-eabi",
"arm-unknown-linux-gnueabi",
"arm-unknown-linux-musleabi",
"armv6-nommu-linux-uclibcgnueabi",
"avr",
"i686-w64-mingw32",
"mips-unknown-elf",
"mips-unknown-linux-gnu",
"mips64-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"powerpc64-unknown-linux-gnu",
"riscv32-unknown-elf",
"riscv64-unknown-elf",
"s390-unknown-linux-gnu",
"sh-unknown-elf",
"sparc-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-multilib-linux-uclibc",
"x86_64-w64-mingw32",
"xtensa-fsf-linux-uclibc",
]
exclude:
# Exclude both glibc & uClibc ARC Linux toolchains as
# there's no known use of ARC Linux toolchains on Mac,
# and anyway glibc fails to build for ARC700,
# see https://github.com/crosstool-ng/crosstool-ng/pull/1456#issuecomment-779150246
- {host: "macos-10.15", sample: "arc-multilib-linux-gnu"}
- {host: "macos-10.15", sample: "arc-multilib-linux-uclibc"}
- { host: "macos-10.15", sample: "arc-multilib-linux-gnu" }
- { host: "macos-10.15", sample: "arc-multilib-linux-uclibc" }
# Exclude mips*-*-linux-gnu because of <byteswap.h> usage in
# elf-entry.c for linux kernel headers. <byteswap.h> is a GNU
# extension and doesn't exist on MacOS X
- {host: "macos-10.15", sample: "mips-unknown-linux-gnu"}
- {host: "macos-10.15", sample: "mips64-unknown-linux-gnu"}
- { host: "macos-10.15", sample: "mips-unknown-linux-gnu" }
- { host: "macos-10.15", sample: "mips64-unknown-linux-gnu" }
steps:
- name: Create case sensitive workspace volume for macOS
if: ${{ runner.os == 'macOS' }}