From 2e9f52eac2b7b0bba53fe0929a294e9c3ce29121 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 1 Sep 2024 22:36:49 -0400 Subject: [PATCH] Add workflow to test Emacs package --- .github/workflows/test.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4bbec93 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,16 @@ +name: Test +on: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Emacs + run: sudo apt-get install -y emacs-nox + - name: Byte-compile + run: | + emacs --batch --eval '(setq byte-compile-error-on-warn t)' \ + --eval '(add-to-list (quote load-path) ".")' \ + -f batch-byte-compile M2*.el M2-symbols.el.gz