|
45 | 45 | with:
|
46 | 46 | node-version: 16
|
47 | 47 |
|
| 48 | + # grep: out of memory |
| 49 | + # /Users/ostera/rescript-org-actions-runner/_work/_actions/tj-actions/changed-files/v34/get-changed-paths.sh: line 66: echo: write error: Broken pipe |
| 50 | + # Error: Process completed with exit code 1. |
| 51 | + # - name: "Check if syntax subfolder has changed" |
| 52 | + # id: syntax-changed |
| 53 | + # uses: tj-actions/changed-files@v34 |
| 54 | + # with: |
| 55 | + # files: syntax/** |
| 56 | + |
| 57 | + # - name: List all changed files |
| 58 | + # shell: bash |
| 59 | + # run: | |
| 60 | + # for file in ${{ steps.syntax-changed.outputs.all_changed_files }}; do |
| 61 | + # echo "$file was changed" |
| 62 | + # done |
| 63 | + |
| 64 | + - name: "Syntax: install OPAM dependencies" |
| 65 | + run: opam install . --deps-only |
| 66 | + working-directory: syntax |
| 67 | + |
| 68 | + - name: "Syntax: build CLI" |
| 69 | + run: opam exec -- dune build |
| 70 | + working-directory: syntax |
| 71 | + |
| 72 | + - name: "Syntax: Run roundtrip tests" |
| 73 | + if: runner.os != 'Windows' |
| 74 | + # if: ${{ runner.os != 'Windows' && steps.syntax-changed-specific.outputs.any_changed == 'true' }} |
| 75 | + run: opam exec -- make roundtrip-test |
| 76 | + working-directory: syntax |
| 77 | + |
| 78 | + - name: "Syntax: Run tests (Windows)" |
| 79 | + if: runner.os == 'Windows' |
| 80 | + # if: ${{ runner.os == 'Windows' && steps.syntax-changed-specific.outputs.any_changed == 'true' }} |
| 81 | + run: opam exec -- make test |
| 82 | + working-directory: syntax |
| 83 | + |
48 | 84 | # Required for ninja build
|
49 | 85 | - name: "Windows: Use MSVC"
|
50 | 86 | if: runner.os == 'Windows'
|
|
0 commit comments