-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcf9e45
commit 97e4dcd
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |