-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add CI workflows just so they're there
- Loading branch information
1 parent
439e68a
commit b66a42a
Showing
3 changed files
with
76 additions
and
6 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,30 @@ | ||
# melpazoid <https://github.com/riscy/melpazoid> build checks. | ||
|
||
# If your package is on GitHub, enable melpazoid's checks by copying this file | ||
# to .github/workflows/melpazoid.yml and modifying RECIPE and EXIST_OK below. | ||
|
||
name: melpazoid | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v1 | ||
with: { python-version: 3.6 } | ||
- name: Install | ||
run: | | ||
python -m pip install --upgrade pip | ||
sudo apt-get install emacs && emacs --version | ||
git clone https://github.com/riscy/melpazoid.git ~/melpazoid | ||
pip install ~/melpazoid | ||
- name: Run | ||
env: | ||
LOCAL_REPO: ${{ github.workspace }} | ||
# RECIPE is your recipe as written for MELPA: | ||
RECIPE: (rigpa :repo "countvajhula/rigpa" :fetcher github) | ||
# set this to false (or remove it) if the package isn't on MELPA: | ||
EXIST_OK: false | ||
run: echo $GITHUB_REF && make -C ~/melpazoid |
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,42 @@ | ||
name: build | ||
|
||
on: [push, pull_request] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
emacs_version: | ||
- '26.1' | ||
- '27.1' | ||
- 'snapshot' | ||
name: Test on Emacs ${{ matrix.emacs_version }} | ||
steps: | ||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.6' | ||
architecture: 'x64' | ||
- name: Install Emacs | ||
uses: purcell/setup-emacs@master | ||
with: | ||
version: ${{ matrix.emacs_version }} | ||
- name: Install Cask | ||
uses: conao3/setup-cask@master | ||
with: | ||
version: 'snapshot' | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- name: Install Package and its Dependencies | ||
run: make install | ||
- name: Lint | ||
run: make lint | ||
- name: Check Docstrings | ||
run: make checkdoc | ||
- name: Byte Compile | ||
run: make build |
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