Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Test on all os platforms #32

Merged
merged 2 commits into from
Dec 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,24 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check out if free tier on github can run macos and windows jobs. Can you confirm they can?

Copy link
Contributor Author

@jcs090218 jcs090218 Dec 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they can! I have been using it since 2019? 2020? (Sorry, don't remember the exact year) Example repo, see https://github.com/emacs-sideline/sideline.

emacs-version:
- 26.3
- 27.2
- 28.2
- snapshot
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good. Agreed, this is a good call.


steps:
- uses: actions/checkout@v3

- name: Setup Emacs
uses: purcell/setup-emacs@master
uses: jcs090218/setup-emacs@master
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you changed the setup action. I appreciate the fact you're building your own custom action, but purcell/setup-emacs seems in wider use ( currently ). Happy to change if it there's a good reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

purcell's action don't support windows, and I don't think it will ever going to support it.

with:
version: 26.1
version: ${{ matrix.emacs-version }}

- name: Emacs Lisp check
uses: leotaku/[email protected]
Expand Down