CI fixes
v2 cover CI fixes
* Fixes the cirrus CI
* Add an empty github actions to get cirrus CI works properly
Yonggang Luo (2):
ci: Add github workflow for getting cirrus working properly
cirrus: upgrade mingw base packages.
.cirrus.yml | 2 +- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ .gitlab-ci.d/windows.yml | 2 +- MAINTAINERS | 4 +++- 4 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main.yml
Signature · 1 line
2.31.1.windows.1
PATCH v2 1/2 ci: Add github workflow for getting cirrus working properly
--- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ MAINTAINERS | 4 +++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/main.yml
.github/workflows/main.yml new file +29 -0
@@ -0,0 +1,29 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: sudo apt install perl + - name: Checkpatch + run: | + git fetch https://git.qemu.org/git/qemu.git master + git tag base_tag_to_rebase FETCH_HEAD --force + ./scripts/checkpatch.pl --mailback base_tag_to_rebase..
MAINTAINERS +3 -1
@@ -3612,10 +3612,12 @@ Build and test automation, general continuous integration M: Alex Bennée <[email protected]> M: Philippe Mathieu-Daudé <[email protected]> M: Thomas Huth <[email protected]> +M: Yonggang Luo <luoyonggang@gmail> R: Wainer dos Santos Moschetta <[email protected]> R: Beraldo Leal <[email protected]> S: Maintained -F: .github/lockdown.yml +F: .github/workflows/lockdown.yml +F: .github/workflows/main.yml F: .gitlab-ci.yml F: .gitlab-ci.d/ F: .travis.yml
Signature · 1 line
2.31.1.windows.1
Re: [PATCH v2 1/2] ci: Add github workflow for getting cirrus working properly
Quoted 1 line · Yonggang Luo
Signed-off-by Yonggang Luo <[email protected]>
Missing patch description ... why is this needed? I can't see anything related to Cirrus-CI in here?
Quoted 49 lines
--- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ MAINTAINERS | 4 +++- 2 files changed, 32 insertions(+), 1 deletion(-)create mode 100644
.github/workflows/main.yml.github/workflows/main.yml new file +29
-0@@ -0,0 +1,29 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: sudo apt install perl + - name: Checkpatch + run: | + git fetch https://git.qemu.org/git/qemu.git master + git tag base_tag_to_rebase FETCH_HEAD --force + ./scripts/checkpatch.pl --mailback base_tag_to_rebase..MAINTAINERS +0
-0@@ -3612,10 +3612,12 @@ Build and test automation, general continuous integration M: Alex Bennée <[email protected]> M: Philippe Mathieu-Daudé <[email protected]> M: Thomas Huth <[email protected]>
MAINTAINERS Build and test automation, general continuous integration · line 3623
Quoted 10 lines
MAINTAINERS +3
-1+M: Yonggang Luo <luoyonggang@gmail> R: Wainer dos Santos Moschetta <[email protected]> R: Beraldo Leal <[email protected]> S: Maintained -F: .github/lockdown.yml +F: .github/workflows/lockdown.yml +F: .github/workflows/main.yml F: .gitlab-ci.yml F: .gitlab-ci.d/ F: .travis.yml
You also don't mention that change anywhere. And IIRC you've also only been involved in the Windows-related CI tasks so far? So it might make more sense to update the "Windows Hosted Continuous Integration" section instead?
Thomas
Re: [PATCH v2 1/2] ci: Add github workflow for getting cirrus working properly
Quoted 6 lines · Thomas Huth
Quoted 1 line · Yonggang Luo
Signed-off-by Yonggang Luo <[email protected]>Missing patch description ... why is this needed? I can't see anything related to Cirrus-CI in here?
Here is the place report failure
https://github.com/qemu/qemu/runs/5652470682
Here is the place showing the valid ci result:
https://github.com/lygstate/qemu
Quoted 7 lines
Quoted 7 lines
--- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ MAINTAINERS | 4 +++- 2 files changed, 32 insertions(+), 1 deletion(-)create mode 100644
.github/workflows/main.yml
Quoted 11 lines
.github/workflows/main.yml line 5
Quoted 11 lines
.github/workflows/main.yml new file +5
-0@@ -0,0 +1,29 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or
pull request
Quoted 8 lines
.github/workflows/main.yml
Quoted 8 lines
.github/workflows/main.yml new file +8
-0+# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run
sequentially or in parallel
Quoted 6 lines
.github/workflows/main.yml
Quoted 6 lines
.github/workflows/main.yml new file +6
-0+jobs: + check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your
job can access it
Quoted 7 lines
Quoted 7 lines
.github/workflows/main.yml new file +7
-0+ - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: sudo apt install perl + - name: Checkpatch + run: |
Quoted 8 lines
MAINTAINERS Build and test automation, general continuous
Quoted 8 lines
.github/workflows/main.yml new file +3
-0+ git fetch https://git.qemu.org/git/qemu.git master + git tag base_tag_to_rebase FETCH_HEAD --force + ./scripts/checkpatch.pl --mailback base_tag_to_rebase..MAINTAINERS +0
-0@@ -3612,10 +3612,12 @@ Build and test automation, general continuous
integration
Quoted 7 lines
Quoted 7 lines
MAINTAINERS +1
-0M: Alex Bennée <[email protected]> M: Philippe Mathieu-Daudé <[email protected]> M: Thomas Huth <[email protected]> +M: Yonggang Luo <luoyonggang@gmail> R: Wainer dos Santos Moschetta <[email protected]> R: Beraldo Leal <[email protected]> S: Maintained
Quoted 8 lines
MAINTAINERS Build and test automation, general continuous integration · line 3623
Quoted 6 lines
MAINTAINERS +2
-1-F: .github/lockdown.yml +F: .github/workflows/lockdown.yml +F: .github/workflows/main.yml F: .gitlab-ci.yml F: .gitlab-ci.d/ F: .travis.ymlYou also don't mention that change anywhere. And IIRC you've also only
been
Quoted 1 line
involved in the Windows-related CI tasks so far? So it might make more
sense
Quoted 4 lines
to update the "Windows Hosted Continuous Integration" section instead?
Thomas
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
Re: [PATCH v2 1/2] ci: Add github workflow for getting cirrus working properly
In reply to Yonggang LuoQuoted 32 lines · Yonggang Luo
Signed-off-by Yonggang Luo <[email protected]>--- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ MAINTAINERS | 4 +++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/main.yml.github/workflows/main.yml new file +19
-0@@ -0,0 +1,29 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
.github/workflows/main.yml line 29
Quoted 10 lines
.github/workflows/main.yml new file +10
-0+ - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: sudo apt install perl + - name: Checkpatch + run: | + git fetch https://git.qemu.org/git/qemu.git master + git tag base_tag_to_rebase FETCH_HEAD --force + ./scripts/checkpatch.pl --mailback base_tag_to_rebase..
I really don't think we want to start duplicating our CI efforts into GitHub. We are using GitLab as our primary hosting platform for QEMU, and have standardized on using GitLab for CI, only using Cirrus CI and Travis for specific non-x86 or non-Linux tasks.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
PATCH v2 2/2 cirrus: upgrade mingw base packages.
In reply to Yonggang Luo--- .cirrus.yml | 2 +- .gitlab-ci.d/windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.cirrus.yml +1 -1
@@ -12,7 +12,7 @@ windows_msys2_task: CIRRUS_SHELL: powershell MSYS: winsymlinks:nativestrict MSYSTEM: MINGW64 - MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2021-04-19/msys2-base-x86_64-20210419.sfx.exe + MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-03-19/msys2-base-x86_64-20220319.sfx.exe MSYS2_FINGERPRINT: 0 MSYS2_PACKAGES: " diffutils git grep make pkg-config sed
.gitlab-ci.d/windows.yml +1 -1
@@ -16,7 +16,7 @@ } - If ( !(Test-Path -Path msys64\var\cache\msys2.exe ) ) { Invoke-WebRequest - "https://github.com/msys2/msys2-installer/releases/download/2021-07-25/msys2-base-x86_64-20210725.sfx.exe" + "https://github.com/msys2/msys2-installer/releases/download/2022-03-19/msys2-base-x86_64-20220319.sfx.exe" -outfile "msys64\var\cache\msys2.exe" } - msys64\var\cache\msys2.exe -y
Signature · 1 line
2.31.1.windows.1