-
Notifications
You must be signed in to change notification settings - Fork 25
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
Setup GitHub actions #617
Setup GitHub actions #617
Conversation
…UB_JOB env to id the build
…ker-compose is not working
…at's all working fine
…g errors trying to headless install the OpenStudio.dmg. Error msg: "Unable to create basic Accelerated OpenGL renderer."
…ly uploading gem packages. This should save some time with the uploading as we don't have to call the setup.sh again
…e to prevent accidental uploads
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you did a bunch of work to make this happen--good job!
Should we delete the ci/travis
folder?
@@ -86,7 +86,7 @@ rspec_path = File.absolute_path(File.join(__FILE__, './../../../../gems/bin/rspe | |||
::ENV['OS_SERVER_LOG_PATH'] = File.join(output_dir, 'logs', 'rails.log') | |||
::ENV['RAILS_ENV'] = 'local-test' | |||
|
|||
#If this is a travis build and it's BUILD_TYPE=test we want to omit the openstudio_algo_spec.rb tests | |||
#If this is a CI build (travis, github actions, etc..) and the BUILD_TYPE=test omit the openstudio_algo_spec.rb tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
ci/github-actions/cipher.rb
Outdated
salt = "8 octets" # or nil | ||
text = "abcdefghijklmnopqrstuvwxyz" | ||
|
||
crypt_by_password(alg, pass, salt, text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra line ending needed
ci/github-actions/cipher.rb
Outdated
@@ -0,0 +1,54 @@ | |||
#!/usr/bin/env ruby |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this is a new file to provide some basic salting/hashing of our passwords
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've had some issues with openssl in the past so @anyaelena added this as a sanity check during the gem builds.
@@ -0,0 +1,20 @@ | |||
# empty dir for export |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet! finally building package from the CI!
@nllong We can remove the |
Cool, thanks. Likewise, are we deprecating |
AppVeyor remains the same. For now anyway. I like the RDP debug features that AppVeyor provides (used it many times), so unless they make changes like Travis, I'd vote to keep it the same. GitHub actions seems to provide the same debuging capabilities - https://github.com/stascorp/rdpwrap - but this doesn't seem as easy to enable/disable like AppVeyor. |
Okay, travis CI is now removed and disabled. |
Resolves #616
https://travis-ci.org/ is shutting down and moving to travis-ci.com which uses a credit based system, at least for MacOS runs.
This PR uses GitHub actions to run the Linux and MacOS jobs in replace of Travis. Appeyor CI jobs will remain the same and continue to run there unless something changes. GitHub actions does support Windows instances so we could move 100% of our CI jobs there if desired.
Once all tests are passing and PR is approved we can disable the Travis CI jobs.
Checklist for GitHub Actions CI jobs: