Re-order the targets in Package.swift #591
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check compatibility | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
name: Check source code compatibility | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: swiftwasm/setup-swiftwasm@v1 | |
with: | |
swift-version: wasm-5.10.0-RELEASE | |
- name: Run Test | |
run: | | |
set -eux | |
make bootstrap | |
cd Examples/Basic | |
swift build --triple wasm32-unknown-wasi | |
swift build --triple wasm32-unknown-wasi -Xswiftc -DJAVASCRIPTKIT_WITHOUT_WEAKREFS |