From 97e4dcd6e9e20c90062038dc6e2fb18adc0da40d Mon Sep 17 00:00:00 2001 From: yparitcher Date: Tue, 21 Dec 2021 10:31:16 -0500 Subject: [PATCH] [CI GHA] build toolchains --- .github/workflows/toolchain.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/toolchain.yml diff --git a/.github/workflows/toolchain.yml b/.github/workflows/toolchain.yml new file mode 100644 index 0000000..809814c --- /dev/null +++ b/.github/workflows/toolchain.yml @@ -0,0 +1,32 @@ +name: Toolchain + +on: [push, pull_request] + +jobs: + toolchain: + runs-on: ubuntu-latest + + strategy: + matrix: + tc: [kindle, kindle5, kindlepw2, kobo, nickel, remarkable, cervantes, pocketbook, bookeen] + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Install Deps + run: sudo apt-get install build-essential autoconf automake bison flex gawk libtool libtool-bin libncurses-dev curl file git gperf help2man texinfo unzip wget + + - name: gen-tc + run: ./gen-tc.sh ${{ matrix.tc }} + + - name: tar + run: tar -C ~ -czf ${{ matrix.tc }}.tar.gz x-tools + + - name: Uploading artifacts + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.tc }} + path: ${{ matrix.tc }}.tar.gz