Skip to content

Commit

Permalink
Migrate from CircleCI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Mar 19, 2022
1 parent 3dbcef3 commit c5295a9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 36 deletions.
35 changes: 0 additions & 35 deletions .circleci/config.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version: [25, 26, 27, master]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: CI
env:
VERSION: ${{ matrix.emacs_version }}
run: >-
make docker CMD="make -k compile checkdoc longlines"
9 changes: 8 additions & 1 deletion scripts/docker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,11 @@ docker build . -t "prescient.el:$tag" \
--build-arg "UID=$UID" \
--build-arg "VERSION=$tag"

docker run -it --rm -v "$PWD:/home/docker/src" "prescient.el:$tag" "${args[@]}"
it=()

if [[ -t 0 ]]; then
it+=(-it)
fi

docker run "${it[@]}" --rm -v "$PWD:/home/docker/src" \
"prescient.el:$tag" "${args[@]}"

0 comments on commit c5295a9

Please sign in to comment.