Skip to content

Commit

Permalink
[CI GHA] build toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
yparitcher committed Dec 27, 2021
1 parent bcf9e45 commit 97e4dcd
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 97e4dcd

Please sign in to comment.