diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5c2bda..c585a6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,3 +63,17 @@ jobs: - uses: actions/checkout@v3 - name: Run tests run: make test-swift + + static-stdlib: + strategy: + matrix: + image: ['swift:5.9-focal'] + runs-on: ubuntu-latest + container: + image: ${{ matrix.image }} + steps: + - uses: actions/checkout@v3 + - name: Build for static-stdlib (debug) + run: swift build -c debug --static-swift-stdlib + - name: Build for static-stdlib (release) + run: swift build -c release --static-swift-stdlib