From 5ea8f0f5247a93d83c0f1113287443eb77ac9715 Mon Sep 17 00:00:00 2001 From: Artem Panfilov Date: Fri, 18 Feb 2022 11:47:46 +0300 Subject: [PATCH] CI: auto reformat YAML Signed-off-by: Artem Panfilov --- .../continuous-integration-workflow.yml | 77 +++++++++---------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 1e6f8ed1..cbe790a1 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -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 usage in # elf-entry.c for linux kernel headers. 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' }}