-
-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1460 from m-1-k-3/gcc_kernel_workflow
Add gcc and linux workflow
- Loading branch information
Showing
5 changed files
with
95 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Update GCC version database | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' # do it every week | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_gcc_db: | ||
if: github.repository_owner == 'e-m-b-a' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Branch | ||
uses: actions/checkout@v3 | ||
- name: Install requirements | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install curl -y | ||
- name: update GCC version db | ||
run: | | ||
./helpers/generate_gcc_info.sh || exit 1 | ||
./helpers/generate_gcc_libstdc_info.sh || exit 1 | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Update GCC version database | ||
committer: GitHub <noreply@github.com> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
signoff: false | ||
branch: gcc_update | ||
delete-branch: true | ||
title: 'GCC version database update' | ||
body: | | ||
Update report | ||
- Updated latest GCC version details | ||
labels: | | ||
db_update | ||
automated pr | ||
milestone: 0 | ||
draft: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Update Linux Kernel version database | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' # do it every week | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_kernel_db: | ||
if: github.repository_owner == 'e-m-b-a' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Branch | ||
uses: actions/checkout@v3 | ||
- name: Install requirements | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install curl -y | ||
- name: update Linux kernel version db | ||
run: | | ||
./helpers/generate_kernel_info.sh || exit 1 | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Update Linux kernel version database | ||
committer: GitHub <noreply@github.com> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
signoff: false | ||
branch: gcc_update | ||
delete-branch: true | ||
title: 'Linux kernel version database update' | ||
body: | | ||
Update report | ||
- Updated latest Linux kernel version details | ||
labels: | | ||
db_update | ||
automated pr | ||
milestone: 0 | ||
draft: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters