Skip to content

revert 6.9 patches #361

revert 6.9 patches

revert 6.9 patches #361

Workflow file for this run

---
name: Build Fedora Kernel
# yamllint disable-line rule:truthy
on: [push]
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
# https://hub.docker.com/_/alpine
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: "YamlLint"
run: |
docker run \
--rm \
-w /repo \
-v $(pwd):/repo \
-t \
alpine:3.16 /bin/sh -c " \
apk add --no-cache py-pip python3 bash \
&& pip3 install yamllint \
&& yamllint -s . \
"
- name: "ShellCheck"
run: |
docker run \
--rm \
-w /repo \
-v $(pwd):/repo \
-t \
alpine:3.16 /bin/sh -c " \
apk add --no-cache shellcheck bash \
&& shellcheck $(find . -type f -name "*.sh" | tr '\n' ' ')
"
- name: "AgentInfo"
run: ./.github/agent-info.sh
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: "AgentInfo"
run: ./.github/agent-info.sh
- name: "Runner storage cleanup"
run: ./.github/cleanup-runner.sh
- name: "AgentInfo"
run: ./.github/agent-info.sh
- name: "Build Fedora Kernel"
timeout-minutes: 1200
run: ./build_in_docker.sh
env:
RPM_SIGNING_KEY: ${{ secrets.RPM_SIGNING_KEY }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: ${{ github.ref }}
name: Release ${{ github.ref }}
draft: true
files: |
./output_zip/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # You don't need to add this in secrets it's by default.
- name: "AgentInfo"
run: ./.github/agent-info.sh