Skip to content

Commit

Permalink
ci: change optimization level of wasm-opt from -Os to -Oz
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed Mar 6, 2024
1 parent 409efb2 commit 26fe186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
swift build --product swift-format --experimental-swift-sdk wasm32-unknown-wasi -c release -Xlinker -z -Xlinker stack-size=524288
wasm-strip .build/release/swift-format.wasm
wasm-opt -Os -all .build/release/swift-format.wasm -o swift-format.wasm
wasm-opt -Oz -all .build/release/swift-format.wasm -o swift-format.wasm
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 26fe186

Please sign in to comment.