Skip to content

Commit

Permalink
chore: Test moon new and run
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Nov 2, 2023
1 parent 2581326 commit 17ecf59
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
moon version
moonc -v
moonrun --version
moon new hello && cd hello
moon run main
17 changes: 14 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ name: Setup-Moonbit@Release
on:
push:
branches:
- develop0
- develop

jobs:
setup-moonbit:
runs-on: ubuntu-latest
name: Setup MoonBit
strategy:
matrix:
os: [windows-latest, ubuntu-22.04, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup MoonBit@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.0
Expand All @@ -21,3 +24,11 @@ jobs:
uses: hustcer/setup-moonbit@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check Moonbit Version
run: |
moon version
moonc -v
moonrun --version
moon new hello && cd hello
moon run main

0 comments on commit 17ecf59

Please sign in to comment.