From 4b020d1791695f23ce5b046700d811f946c32022 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Fri, 15 Sep 2023 13:50:13 -0700 Subject: [PATCH 1/2] test: Build with Eask --- .github/dependabot.yml | 6 +++++ .github/workflows/test.yml | 54 ++++++++++++++++++++++++++++++++++++++ .gitignore | 2 ++ Eask | 18 +++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/test.yml create mode 100644 Eask diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..253bcb7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..fff42f0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,54 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + test: + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + emacs-version: + - 26.3 + - 27.2 + - 28.2 + - 29.1 + experimental: [false] + include: + - os: ubuntu-latest + emacs-version: snapshot + experimental: true + - os: macos-latest + emacs-version: snapshot + experimental: true + - os: windows-latest + emacs-version: snapshot + experimental: true + + steps: + - uses: actions/checkout@v4 + + - uses: jcs090218/setup-emacs@master + with: + version: ${{ matrix.emacs-version }} + + - uses: emacs-eask/setup-eask@master + with: + version: 'snapshot' + + - name: Run tests + run: | + eask package + eask install + eask compile diff --git a/.gitignore b/.gitignore index 89e4014..17e9596 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .cask +.eask *.elc +/dist /flycheck_* /vendor/ diff --git a/Eask b/Eask new file mode 100644 index 0000000..9b4a5b8 --- /dev/null +++ b/Eask @@ -0,0 +1,18 @@ +(package "jetbrains" + "0.0.1" + "JetBrains IDE bridge") + +(website-url "https://github.com/emacs-php/jetbrains.el") +(keywords "tools" "php") + +(package-file "jetbrains.el") + +(script "test" "echo \"Error: no test specified\" && exit 1") + +(source 'gnu) + +(depends-on "emacs" "24.3") +(depends-on "cl-lib" "0.5") +(depends-on "f" "0.17") + +(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 From e5390e53f9d85ec23f0ce4e66c9be487819c53be Mon Sep 17 00:00:00 2001 From: JenChieh Date: Fri, 15 Sep 2023 13:53:47 -0700 Subject: [PATCH 2/2] fix compile --- Eask | 1 + 1 file changed, 1 insertion(+) diff --git a/Eask b/Eask index 9b4a5b8..1686a1e 100644 --- a/Eask +++ b/Eask @@ -10,6 +10,7 @@ (script "test" "echo \"Error: no test specified\" && exit 1") (source 'gnu) +(source 'melpa) (depends-on "emacs" "24.3") (depends-on "cl-lib" "0.5")