Просмотр исходного кода

Enable release mode builds (#2255)

### Motivation:

Some errors do not show up in debug builds. Enabling release mode builds
improves the CI coverage.

### Modifications:

Enable release mode builds for pull requests and scheduled builds on
main.

### Result:

Improved CI coverage.
Raphael 5 месяцев назад
Родитель
Сommit
bdff45deac
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .github/workflows/ci.yaml

+ 3 - 0
.github/workflows/ci.yaml

@@ -26,8 +26,11 @@ jobs:
       matrix:
         include:
           - image: swift:6.1
+            swift-build-flags: -c release
           - image: swift:6.0-jammy
+            swift-build-flags: -c release
           - image: swift:5.10.1-noble
+            swift-build-flags: -c release
     name: Build and Test on ${{ matrix.image }}
     runs-on: ubuntu-latest
     container: