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

[ci] use GitHub Actions for R CI jobs (fixes #2353) #3116

Closed
wants to merge 89 commits into from

Conversation

jameslamb
Copy link
Collaborator

This PR proposes adding GitHub Actions CI and moving all R jobs to it.

GitHub Actions gives you 20 concurrent jobs for free and access to Mac, Linux, and Windows environments.

See #2353 and discussion in this thread: #3065 (comment)

This PR should improve CI times (since AppVeyor runs tasks sequentially and now those tasks will be run concurrently), and should give enough extra CI capacity to test more installation paths for the R package(like R 3.6.x AND R 4.0.0x on #3065 )

Summary of Changes

  • move lint job from Travis to GitHub Actions
  • remove R Linux and Mac CI jobs from Azure
  • remove R jobs from AppVeyor
  • remove R jobs from Travis
  • add 6 R jobs to GitHub Actions:
    • Windows, MSVC
    • Windows, MINGW
    • Mac, gcc
    • Mac, clang
    • Linux, gcc
    • Linux, clang
  • add .ci/download-miktex.R, to make miktexsetup.zip downloads more reliable

Notes for reviewers

Fail-fast behavior when possible. For pwsh and powershell built-in shell, we will prepend $ErrorActionPreference = 'stop' to script contents.

Other references

@jameslamb
Copy link
Collaborator Author

@guolinke I think you need to enable GitHub Actions in this repository for them to build

@StrikerRUS
Copy link
Collaborator

@jameslamb Can you please create a branch under this repo and merge you fork into it? Then we will be able to see the result!
https://github.com/microsoft/LightGBM/actions

@jameslamb
Copy link
Collaborator Author

@jameslamb Can you please create a branch under this repo and merge you fork into it? Then we will be able to see the result!
https://github.com/microsoft/LightGBM/actions

ohhhhh I didn't realize that was necessary! Ok I'll create a LightGBM branch and open a new PR...so we can see the status as things are changed after reviews

@jameslamb
Copy link
Collaborator Author

moved to #3119

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants