Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Syuparn committed Feb 23, 2024
1 parent 24a4463 commit ffdc22c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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: |
wasmer --version
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 package
echo $(pwd)"/dist" >> $GITHUB_PATH
- name: test
run: make test

0 comments on commit ffdc22c

Please sign in to comment.