Skip to content

Commit

Permalink
Add source code compatibility check CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Oct 26, 2020
1 parent 6f31fc3 commit 7a9d6f3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check compatibility
on: [push, pull_request]
jobs:
test:
name: Check source code compatibility
runs-on: Ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 1
- name: Run Test
run: |
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
export SWIFTENV_ROOT="$HOME/.swiftenv"
export PATH="$SWIFTENV_ROOT/bin:$PATH"
eval "$(swiftenv init -)"
cd Example
swift build --triple wasm32-unknonw-wasi

0 comments on commit 7a9d6f3

Please sign in to comment.