-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from nfroidure/actions
Use GitHub Actions for CI
- Loading branch information
Showing
5 changed files
with
41 additions
and
53 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,22 @@ | ||
#!/bin/bash | ||
|
||
sudo apt-get update | ||
sudo apt-get install -y qt4-qmake libqt4-dev | ||
mkdir -p /ttfautohint && cd /ttfautohint | ||
|
||
export FT_VERSION=2.6.3 | ||
export HB_VERSION=1.2.7 | ||
export TA_VERSION=1.5 | ||
|
||
wget http://download.savannah.gnu.org/releases/freetype/freetype-"$FT_VERSION".tar.bz2 | ||
tar xjf freetype-"$FT_VERSION".tar.bz2 | ||
(cd freetype-"$FT_VERSION" && ./configure --without-harfbuzz && sudo make install && sudo make distclean) | ||
wget https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-"$HB_VERSION".tar.bz2 | ||
tar xjf harfbuzz-"$HB_VERSION".tar.bz2 | ||
(cd harfbuzz-"$HB_VERSION" && ./configure && sudo make install) | ||
(cd freetype-"$FT_VERSION" && ./configure && sudo make install) | ||
wget http://downloads.sourceforge.net/project/freetype/ttfautohint/"$TA_VERSION"/ttfautohint-"$TA_VERSION".tar.gz | ||
tar xzf ttfautohint-"$TA_VERSION".tar.gz | ||
(cd ttfautohint-"$TA_VERSION" && ./configure && sudo make install) | ||
|
||
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH |
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,16 @@ | ||
on: push | ||
name: Run tests | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [6, 8, 9, 10, 11, 12] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: .github/workflows/install.sh | ||
- run: npm install | ||
- run: npm test |
This file was deleted.
Oops, something went wrong.
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
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