diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-16 00:15:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-16 00:15:09 +0100 |
| commit | f1c5887377c9ae547a7564ec4fc52d72656a974f (patch) | |
| tree | 563c8929b36c916cd02a9fd7ca232c97e4173e0e /.github/workflows | |
| parent | da3cb6ebe4ef40e11192db79925bb5f3dd8defef (diff) | |
| download | rneovim-f1c5887377c9ae547a7564ec4fc52d72656a974f.tar.gz rneovim-f1c5887377c9ae547a7564ec4fc52d72656a974f.tar.bz2 rneovim-f1c5887377c9ae547a7564ec4fc52d72656a974f.zip | |
ci: add GCC Release testing (#22274)
ci: add GCC release testing
We currently have no release testing, so it's good to check for any
unwanted behavior on release builds as well. Prefer GCC over clang, as
GCC release builds seem to create more warnings on release compared to
debug.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4814e89a69..c227fa5460 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,6 +196,10 @@ jobs: cc: gcc runner: ubuntu-22.04 flags: -D UNSIGNED_CHAR=ON + - flavor: release + cc: gcc + runner: ubuntu-22.04 + flags: -D CMAKE_BUILD_TYPE=Release - cc: clang runner: macos-12 @@ -262,7 +266,7 @@ jobs: id: abort_job run: echo "status=${{ job.status }}" >> $GITHUB_OUTPUT - - if: matrix.flavor != 'tsan' && matrix.flavor != 'functionaltest-lua' && (success() || failure() && steps.abort_job.outputs.status == 'success') + - if: matrix.flavor != 'tsan' && matrix.flavor != 'release' && matrix.flavor != 'functionaltest-lua' && (success() || failure() && steps.abort_job.outputs.status == 'success') name: Unittest timeout-minutes: 5 run: cmake --build build --target unittest |