emacs-emojify

fork of https://github.com/iqbalansari/emacs-emojify
Log | Files | Refs | LICENSE

commit 1b726412f19896abf5e4857d4c32220e33400b55
parent cfa00865388809363df3f884b4dd554a5d44f835
Author: Yoshimura Yuu <yyu@mental.poker>
Date:   Sat,  6 Mar 2021 17:19:59 +0900

Add GitHub Actions setting file

Diffstat:
A.github/workflows/ci.yml | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -0,0 +1,51 @@ +name: CI + +on: [pull_request, push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + emacs-version: + - emacs-26.2 + - emacs-26.1 + - emacs-25.3 + - emacs-25.2 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Cache + uses: actions/cache@v2 + with: + path: | + ~/emacsen + ~/.emacs.d/emojis + key: ${{ runner.os }}-${{ matrix.emacs-version }}-${{ hashFiles('**/Cask') }} + + - name: Install dependencies + run: sudo apt-get install libxaw7-dev libgnutls28-dev + + - name: Install EVM + run: | + curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash + echo "$HOME/.evm/bin" >> $GITHUB_PATH + + - name: SetUp EVM + run: | + mkdir -p $HOME/emacsen + evm config path $HOME/emacsen + evm install ${{ matrix.emacs-version }} --skip + evm use ${{ matrix.emacs-version }} + + - name: Install Cask + run: | + curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python3 + echo "$HOME/.cask/bin:$PATH" >> $GITHUB_PATH + + - name: Install + run: cask install + + - name: Run tests + run: find . -name '*.elc' -delete && cask exec ert-runner