kvrocks icon indicating copy to clipboard operation
kvrocks copied to clipboard

Add more linux distro environments in GitHub Actions

Open PragmaTwice opened this issue 3 years ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Motivation

As in https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container, we can use jobs.<job_id>.container to make all steps run on a specific docker image, like centos or others.

Solution

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

PragmaTwice avatar Aug 27 '22 14:08 PragmaTwice

@PragmaTwice the issue here is what distros are supported on GitHub Actions (public).

tisonkun avatar Sep 13 '22 03:09 tisonkun

@PragmaTwice the issue here is what distros are supported on GitHub Actions (public).

I think we can use images in docker hub, e.g.

jobs:
  build:
    runs-on: ubuntu:latest
    container: centos:7 # `centos:7` image from docker hub
    steps:
      ... # commands running on centos docker container

PragmaTwice avatar Sep 13 '22 03:09 PragmaTwice