Browse Source

Update Github Actions workflows

This change removes some unneeded compilation flags for the kernel
builds.

In addition, we revert back to compilation level O2 based on the
discussion in the LKML:
https://lore.kernel.org/lkml/[email protected]/
Fabian Mastenbroek 5 years ago
parent
commit
1ab2af01d7
2 changed files with 3 additions and 4 deletions
  1. 0 1
      .github/workflows/master.yml
  2. 3 3
      .github/workflows/release.yml

+ 0 - 1
.github/workflows/master.yml

@@ -14,7 +14,6 @@ jobs:
         include:
         include:
           - build_type: 'generic'
           - build_type: 'generic'
             build_cc: gcc-10
             build_cc: gcc-10
-            build_cflags: '-O3 -Wno-error=maybe-uninitialized'
     if: "!contains(github.event.head_commit.message, 'skip ci')"
     if: "!contains(github.event.head_commit.message, 'skip ci')"
     steps:
     steps:
     - name: Checkout Sources
     - name: Checkout Sources

+ 3 - 3
.github/workflows/release.yml

@@ -12,13 +12,13 @@ jobs:
         include:
         include:
           - build_type: 'generic'
           - build_type: 'generic'
             build_cc: gcc-10
             build_cc: gcc-10
-            build_cflags: '-O3 -Wno-error=maybe-uninitialized'
+            build_cflags: ''
           - build_type: zen2
           - build_type: zen2
             build_cc: gcc-10
             build_cc: gcc-10
-            build_cflags: '-O3 -march=znver2 -Wno-error=maybe-uninitialized'
+            build_cflags: '-march=znver2'
           - build_type: cascadelake
           - build_type: cascadelake
             build_cc: gcc-10
             build_cc: gcc-10
-            build_cflags: '-O3 -march=cascadelake -Wno-error=maybe-uninitialized'
+            build_cflags: '-march=cascadelake'
     steps:
     steps:
     - name: Checkout Sources
     - name: Checkout Sources
       uses: actions/checkout@v2
       uses: actions/checkout@v2