Skip to content

Commit b979408

Browse files
committed
Add simple compilation test
1 parent 3407d45 commit b979408

File tree

13 files changed

+838
-2
lines changed

13 files changed

+838
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
~/.cargo
6565
key: ${{ runner.os }}-cargo-dev-${{ hashFiles('**/Cargo.lock') }}
6666
- run: bash test/test_all.sh
67+
- run: bash examples/test_all.sh
6768
- run: git diff --exit-code --quiet || exit 1
6869

6970
# things that use the cargo-test cache

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,15 @@ Feel free to open tickets for support or feature requests.
139139
140140
## Development/Testing
141141
142-
Use `./test/test_all.sh` to run tests.
143-
After running the test, there should be no unexpected changes to files in `./test` (use `git status` and `git diff` to see if there were any changes).
142+
- **Testing codegen correctness**
143+
144+
Use `./test/test_all.sh` to run tests.
145+
After running the test, there should be no unexpected changes to files in `./test` (use `git status` and `git diff` to see if there were any changes).
146+
147+
- **Testing codegen compilability**
148+
149+
Currently, we compile the projects in the `examples/` directory. Those should still compile and run after any changes to the codebase.
150+
144151
145152
## License
146153

0 commit comments

Comments
 (0)