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