feat(builtins): eval #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test C & JS | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'feat-*' | |
| paths: | |
| - '**/*.nim' | |
| - './*.nimble' | |
| - 'tests/**' | |
| - '.github/workflows/ci.yml' | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| nim-version: 'stable' | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache nimble | |
| id: cache-nimble | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nimble | |
| key: ${{ runner.os }}-nimble-v2 | |
| - uses: jiro4989/setup-nim-action@v2 | |
| with: | |
| nim-version: ${{ env.nim-version }} | |
| - name: BuildC | |
| run: nimble build --warning[Spacing]:off | |
| - name: Test C backend | |
| run: nimble test | |
| - name: BuildJs | |
| run: nimble buildJs -d:nodejs --warning[Spacing]:off | |
| - name: Test NodeJS backend | |
| run: nimble testNodeJs | |