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

Switch CI from Travis to GitHub Actions #251

Merged
merged 1 commit into from Dec 29, 2020
Merged

Switch CI from Travis to GitHub Actions #251

merged 1 commit into from Dec 29, 2020

Conversation

adamgreig
Copy link
Contributor

@adamgreig adamgreig commented Dec 29, 2020

This is a first pass at using GHA instead of Travis for CI. It should perform the same actions as Travis currently does.

Currently this doesn't perform any caching; we could cache both the pip downloads for YoWASP and the built WASM objects fairly easily if that's desirable. This doesn't remove the Travis CI file either.

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install sdcc
Copy link
Member

Choose a reason for hiding this comment

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

I think we don't actually need sdcc on CI (perhaps as a separate action, but for now I think it is enough that the few people who modify the firmware also build it locally).

@adamgreig
Copy link
Contributor Author

GHA isn't triggering for this PR because it's from a fork. I've opened a PR to master on my fork where GHA does then trigger, so you can view the result here: https://github.com/adamgreig/glasgow/pull/1

Once the workflow exists in the upstream repository, it should run for subsequent PRs, including from forks.

@adamgreig adamgreig marked this pull request as ready for review December 29, 2020 05:11
@whitequark whitequark changed the title Add GHA CI Switch CI from Travis to GitHub Actions Dec 29, 2020
Copy link
Member

@whitequark whitequark left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I've heavily modified it though.

@whitequark whitequark merged commit 47db2fe into GlasgowEmbedded:master Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants