diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8b0bb0a2a..2bac6892c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -176,6 +176,24 @@ jobs: moon test --target all moon test --release --target all + - name: moon test in native backend (unix) + if: ${{ matrix.os != 'windows-latest' }} + run: | + ulimit -s 8176 + moon test --target native + moon test --target native --release + + - name: Setup MSVC + if: ${{ matrix.os == 'windows-latest' }} + uses: ilammy/msvc-dev-cmd@v1 + + - name: moon test in native backend (windows) + if: ${{ matrix.os == 'windows-latest' }} + run: | + # --release not support for windows + moon test --target native --dry-run + moon test --target native + - name: moon bundle run: moon bundle --all diff --git a/moon.mod.json b/moon.mod.json index c65ef75fd..9bb49872a 100644 --- a/moon.mod.json +++ b/moon.mod.json @@ -4,5 +4,6 @@ "readme": "README.md", "repository": "https://github.com/moonbitlang/core", "license": "Apache-2.0", - "keywords": ["core","standard library"] + "keywords": ["core","standard library"], + "link-flags": ["-cc", "cl /nologo"] } \ No newline at end of file