From ece1e48e43c6e28e7ece9e59a87922f68c63eb1c Mon Sep 17 00:00:00 2001 From: syuparn Date: Fri, 23 Feb 2024 20:18:35 +0900 Subject: [PATCH] add test --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9e82894 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test + +on: [push] + +jobs: + build: + name: Build + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + - name: Setup Wasmer + uses: wasmerio/setup-wasmer@v3.1 + with: + version: 'v4.2.3' + - name: prepare Onyx + run: | + git clone https://github.com/onyx-lang/onyx --depth 1 + cd onyx + git fetch origin v0.1.9-beta + git checkout v0.1.9-beta + source settings.sh + ./build.sh compile install + onyx version + - name: test + run: make test