Skip to content

Commit 9171aa5

Browse files
committed
feat: Add CI workflow
1 parent 3bec931 commit 9171aa5

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Description:
2+
# - FZip build & test Check
3+
4+
name: CI
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
- develop
11+
12+
paths-ignore:
13+
- '**.md'
14+
15+
jobs:
16+
fzip-check:
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [windows-latest, ubuntu-latest, macos-latest]
21+
# os: [windows-latest, ubuntu-latest, macos-latest, macos-15-intel]
22+
runs-on: ${{ matrix.os }}
23+
name: Setup MoonBit@${{ matrix.os }}
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v6
27+
28+
- name: Setup Moonbit
29+
uses: hustcer/setup-moonbit@main
30+
31+
- name: Check FZip Build & Test
32+
run: |
33+
moon version --all
34+
moon check --target all
35+
moon build --target all
36+
moon test --target all
37+

0 commit comments

Comments
 (0)