Update codebase to support v0.14 features #59
This file contains 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 | |
on: | |
push: | |
branches: [main] | |
paths-ignore: ['**/*.md', '**/*.yml', '!.github/workflows/test.yml'] | |
pull_request: | |
paths-ignore: ['**/*.md', '**/*.yml', '!.github/workflows/test.yml'] | |
concurrency: | |
cancel-in-progress: true | |
group: test-${{ github.event.pull_request.number || github.sha }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: thelang-io/setup-the@v1 | |
- run: sudo apt-get update | |
- run: sudo apt-get install valgrind | |
- run: the install | |
- run: the build src | |
- run: the compile build/result && mv a.out b.out | |
- run: valgrind ./b.out -h | |
- run: valgrind ./b.out -v | |
- run: valgrind ./b.out build test | |
- run: valgrind ./b.out build src | |
- run: valgrind ./b.out lex build/result | |
- run: valgrind ./b.out parse build/result | |
- run: valgrind ./b.out compile build/result | |
- run: valgrind ./b.out run build/result |