Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Remove deploy and add Windows test to GH actions #1401

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

benmcmorran
Copy link
Member

@benmcmorran benmcmorran commented Jan 5, 2022

Because the ADO pipeline now handles creation of a GH release, we can simplify the GH actions to just provide quick build and test feedback across all platforms. It's worth keeping this on GH so that external contributors can inspect the build logs, which is impossible with ADO (by design).

@benmcmorran benmcmorran changed the title [DO NOT MERGE] Simplifying GH actions Remove deploy and add Windows test to GH actions Jan 5, 2022
@benmcmorran benmcmorran marked this pull request as ready for review January 5, 2022 20:34
@benmcmorran
Copy link
Member Author

Note for myself: remove the now-obsolete vsix-publishing environment after merging this.

run: |
curl -LO https://downloads.arduino.cc/arduino-1.8.19-windows.zip
7z x arduino-1.8.19-windows.zip -o"$Env:TEMP\arduino-ide"
echo "$Env:TEMP\arduino-ide\arduino-1.8.19" | Out-File -FilePath $env:GITHUB_PATH -Append
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be worthwhile to do a hash check on the download as well (like we're doing in the ADO pipeline)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, I can add it. If we're going to do it on all 3 platforms, it's probably best to extract the inline node script to a separate file.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added for Linux and Windows. I'm leaving Mac alone for now because it installs through Homebrew. We could likely switch it to something closer to the Linux install, but I'll leave that for a future PR.

@benmcmorran benmcmorran merged commit bf6d9ab into master Jan 6, 2022
@benmcmorran benmcmorran deleted the simplify-gh-actions branch January 6, 2022 19:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants