Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@ name: Check compatibility
on:
pull_request:
push:
branches: [master]
branches: [main]
jobs:
test:
name: Check source code compatibility
runs-on: Ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Run Test
run: |
set -eux
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
export SWIFTENV_ROOT="$HOME/.swiftenv"
export PATH="$SWIFTENV_ROOT/bin:$PATH"
eval "$(swiftenv init -)"
make bootstrap
cd Example
swift build --triple wasm32-unknonw-wasi
swift build --triple wasm32-unknown-wasi