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

build: migrate from github actions to circleci #3188

Merged
merged 7 commits into from
Jun 5, 2023
Merged

build: migrate from github actions to circleci #3188

merged 7 commits into from
Jun 5, 2023

Conversation

georgexu99
Copy link
Contributor

@georgexu99 georgexu99 commented Mar 9, 2023

This PR migrates Forge from GitHub Actions to CircleCI

  • Tested Mac, Windows and Linux binaries
  • Tested releasing a new version to GitHub (based on tags)

Notes: none

@georgexu99 georgexu99 requested a review from a team as a code owner March 9, 2023 00:14
@georgexu99 georgexu99 changed the title (WIPinitial config (WIP) build: migrate from github actions to circleci Mar 9, 2023
@georgexu99 georgexu99 marked this pull request as draft March 9, 2023 00:16
@georgexu99 georgexu99 marked this pull request as ready for review April 25, 2023 22:03
@georgexu99 georgexu99 changed the title (WIP) build: migrate from github actions to circleci build: migrate from github actions to circleci Apr 25, 2023
@georgexu99 georgexu99 force-pushed the circleci branch 25 times, most recently from 0816a75 to 0d5dc0f Compare May 1, 2023 21:16
@georgexu99 georgexu99 force-pushed the circleci branch 13 times, most recently from e1063a8 to 723a533 Compare May 16, 2023 18:51
npm install -g npm@8
echo 'C:\Program Files (x86)\WiX Toolset v3.11\bin' >> $GITHUB_PATH
npm config set node-gyp "$GITHUB_WORKSPACE\node_modules\node-gyp\bin\node-gyp.js"
- name: Linux specific setup
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was dead code, is this something we need?

@@ -143,11 +143,11 @@
"yaml-hook": "^1.0.0"
},
"optionalDependencies": {
"@malept/electron-installer-flatpak": "^0.11.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these aren't needed for this PR- let me know if it would be more preferred to separate these upgrades to a separate PR

Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with upgrading these in this PR, as long as tests are passing 👍 We can do a little manual test of binaries next time we do a Forge release, but the upgrade should be safe

@@ -27,7 +27,7 @@
"fs-extra": "^10.0.0"
},
"optionalDependencies": {
"@malept/electron-installer-flatpak": "^0.11.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

see above

/**
* If the `RunAsNode` fuse had not been flipped,
* this would return the Node.js version (e.g. `v14.16.0`)
* instead of the `console.log` from `main.js`.
*/
const output = (
await spawn(electronExecutablePath, ['-v'], {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@georgexu99 georgexu99 marked this pull request as ready for review May 16, 2023 20:22
@georgexu99 georgexu99 requested a review from a team May 24, 2023 00:25
Copy link
Member

@VerteDinde VerteDinde left a comment

Choose a reason for hiding this comment

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

A few comments to look into, but all in all, this is awesome work! Thanks so much for doing this conversion, there were some thorny debugging problems in here 🙇‍♀️

@@ -143,11 +143,11 @@
"yaml-hook": "^1.0.0"
},
"optionalDependencies": {
"@malept/electron-installer-flatpak": "^0.11.2",
Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with upgrading these in this PR, as long as tests are passing 👍 We can do a little manual test of binaries next time we do a Forge release, but the upgrade should be safe

ci/snapcraft.yaml Show resolved Hide resolved
.circleci/config.yml Show resolved Hide resolved
Copy link
Member

@erickzhao erickzhao left a comment

Choose a reason for hiding this comment

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

1 small change. Thanks for this @georgexu99 !!!

.circleci/config.yml Outdated Show resolved Hide resolved
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.

3 participants