diff options
| author | Jen-Chieh Shen <jcs090218@gmail.com> | 2024-05-31 04:58:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-31 13:58:58 +0200 |
| commit | b767c48cbfe0587fc7e57eca7c023706622a5513 (patch) | |
| tree | 366d5a9db02b7d1dc334f1a2e934d6d97b3a54d6 /.github/workflows/test.yml | |
| parent | 89617bba1177ebd878de3ab1b28dbe2a4684d0ce (diff) | |
ci: Use Eask to test macos and windows (#1885)
* ci: Use Eask to test macos and windows
* ci: Install eask
* ci: Fix jump file test
* revert spaces
* ci: skip find-file test on windows
* ci: Revert original test for windows
* Delete Cask file
* ci: Exclude tests on macos below 28.x
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f381f07..55bddae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,23 +2,41 @@ name: CI on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: - emacs_version: - - 25.3 + os: [ubuntu-latest, macos-latest, windows-latest] + emacs-version: - 26.3 - 27.2 - 28.2 - 29.3 - - snapshot + experimental: [false] + include: + - os: ubuntu-latest + emacs-version: snapshot + experimental: true + - os: macos-latest + emacs-version: snapshot + experimental: true + exclude: + - os: macos-latest + emacs-version: 26.3 + - os: macos-latest + emacs-version: 27.2 + steps: - - uses: purcell/setup-emacs@master + - uses: jcs090218/setup-emacs@master with: - version: ${{ matrix.emacs_version }} + version: ${{ matrix.emacs-version }} - uses: actions/checkout@v4 @@ -26,6 +44,10 @@ jobs: run: | emacs --version + - uses: emacs-eask/setup-eask@master + with: + version: 'snapshot' + - name: Run tests run: | make test |
