瀏覽代碼

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 6 月之前
父節點
當前提交
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: