-
Notifications
You must be signed in to change notification settings - Fork 162
85 lines (72 loc) · 2.01 KB
/
Copy pathbleeding-check.yml
File metadata and controls
85 lines (72 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: nightly-check
on:
push:
branches:
- main
pull_request:
env:
MOONC_RC_CONVENTION: borrow
jobs:
nightly-check:
continue-on-error: true
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
if: |
(github.event_name == 'pull_request' && startsWith(github.head_ref, 'nightly/')) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
version: nightly
- name: run tests
timeout-minutes: 20
uses: ./.github/actions/test
- name: Test new allocator
timeout-minutes: 10
run: |
moon clean
moon test --target wasm
env:
MOONC_INTERNAL_PARAMS: allocator = tlsf-mbt |
- name: check
timeout-minutes: 10
run: moon check --deny-warn
- name: moon bundle
run: moon bundle --all
- name: moon info
timeout-minutes: 10
run: |
moon info --target wasm,wasm-gc,js,native
git diff
- name: check core size
timeout-minutes: 10
run: find ./target -name '*.core' | xargs ls -lh
- name: format diff
timeout-minutes: 10
run: |
moon fmt
git diff
nightly-native-opt-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
if: |
(github.event_name == 'pull_request' && startsWith(github.head_ref, 'nightly/')) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
continue-on-error: false
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
version: nightly
- name: moon version
run: |
moon version --all
- name: run native release tests
timeout-minutes: 10
uses: ./.github/actions/test-native-release