forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrew Fasano
committed
Nov 27, 2023
1 parent
4b035eb
commit 194d71e
Showing
2 changed files
with
73 additions
and
0 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,54 @@ | ||
name: Compile and publish kernels | ||
|
||
on: | ||
push: | ||
branches: | ||
- fd4.10 | ||
- 4.10_hc | ||
|
||
jobs: | ||
build: | ||
runs-on: panda-arc | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: | | ||
bash docker_build.sh | ||
time tar -czvf kernels-latest.tar.gz binaries | ||
- name: Save package | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: kernels-latest.tar.gz | ||
path: kernels-latest.tar.gz | ||
|
||
- name: Create release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: release_${{ github.sha }} | ||
release_name: Release ${{ github.ref }} | ||
body: | | ||
Release @${{ github.ref }} | ||
draft: true | ||
prerelease: false | ||
- name: Upload release asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./kernels-latest.tar.gz | ||
asset_name: kernels-latest.tar.gz | ||
asset_content_type: application/gzip | ||
- name: Publish release | ||
uses: StuYarrow/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
id: ${{ steps.create_release.outputs.id }} |
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,19 @@ | ||
name: Check that the code compiles | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- fd4.10 | ||
- 4.10_hc | ||
|
||
jobs: | ||
build: | ||
runs-on: panda-arc | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: | | ||
bash docker_build.sh |