Skip to content

Commit

Permalink
chore(megalinter): cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicFS committed Sep 19, 2023
1 parent 3f89df6 commit 1a12f64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 24 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"distclean",
"dockerfile",
"dockerfiles",
"dooper",
"dotconfig",
"edkii",
"exitcode",
Expand Down
37 changes: 13 additions & 24 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
coreboot-version:
[
'4.19',
'4.20.1',
'4.21'
]
coreboot-version: ['4.19', '4.20.1', '4.21']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -49,10 +44,10 @@ jobs:
#uses: 9elements/firmware-action
with:
target: coreboot
sdk_version: "coreboot_${{ matrix.coreboot-version }}:main"
sdk_version: 'coreboot_${{ matrix.coreboot-version }}:main'
#architecture: x86 # default
repo_path: my_super_dooper_awesome_coreboot
defconfig_path: "seabios_defconfig"
defconfig_path: 'seabios_defconfig'
#output: "output" # default

# Example of building Linux kernel
Expand All @@ -68,9 +63,6 @@ jobs:
fetch-depth: 0
- name: Prepare linux kernel
run: |
export LINUX_MAJOR_VERSION=$(echo "${{ matrix.linux-version }}" | sed -E 's/\..*//g')
echo "linux-version: ${{ matrix.linux-version }}"
echo "LINUX_MAJOR_VERSION: ${LINUX_MAJOR_VERSION}"
# Download source files
wget --quiet "https://cdn.kernel.org/pub/linux/kernel/v${LINUX_MAJOR_VERSION}.x/linux-${{ matrix.linux-version }}.tar.xz"
wget --quiet "https://cdn.kernel.org/pub/linux/kernel/v${LINUX_MAJOR_VERSION}.x/linux-${{ matrix.linux-version }}.tar.sign"
Expand All @@ -80,6 +72,8 @@ jobs:
gpg2 --verify "linux-${{ matrix.linux-version }}.tar.sign"
# Extract
tar -xvf "linux-${{ matrix.linux-version }}.tar"
env:
LINUX_MAJOR_VERSION: 6
- name: Move my defconfig into place (filename must not contain '.defconfig')
run: |
mv "tests/linux_${{ matrix.linux-version }}/linux.defconfig" "ci_defconfig"
Expand All @@ -88,22 +82,18 @@ jobs:
#uses: 9elements/firmware-action
with:
target: linux
sdk_version: "linux_${{ matrix.linux-version }}:main"
sdk_version: 'linux_${{ matrix.linux-version }}:main'
#architecture: x86 # default
repo_path: "linux-${{ matrix.linux-version }}"
defconfig_path: "ci_defconfig"
repo_path: 'linux-${{ matrix.linux-version }}'
defconfig_path: 'ci_defconfig'
#output: "output" # default

# Example of building EDK2
build-edk2:
runs-on: ubuntu-latest
strategy:
matrix:
edk2-version:
[
'edk2-stable202208',
'edk2-stable202211'
]
edk2-version: ['edk2-stable202208', 'edk2-stable202211']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -120,11 +110,10 @@ jobs:
#uses: 9elements/firmware-action
with:
target: edk2
sdk_version: "${{ matrix.edk2-version }}:main"
sdk_version: '${{ matrix.edk2-version }}:main'
architecture: X64
repo_path: "Edk2"
defconfig_path: "edk2_config.cfg"
repo_path: 'Edk2'
defconfig_path: 'edk2_config.cfg'
#output: "output" # default
edk2__platform: "UefiPayloadPkg/UefiPayloadPkg.dsc"
edk2__platform: 'UefiPayloadPkg/UefiPayloadPkg.dsc'
#edk2__release_type: DEBUG # default

0 comments on commit 1a12f64

Please sign in to comment.