Commit 5911ee2
authored
Add Odin version mismatch warning to run-test and check-exercise (#150)
* Add Odin version mismatch warning to run-test and check-exercise
I added a file ODIN_VERSION at the top of the repo that contains
the version of the Odin compiler the test-runner is using.
This is used to warn contributors when the run run-test or
check-exercise before they push a PR that they are using a
different version (and that may cause compilation failure when
the exercise is checked by the track GHA).
I only made is a warning, this will not cause the checks to fail.
* Update regex for cygwin
On Cygwin when you execute `odin version`, it returns some path
in front of `odin version dev-...`, adjust the regex to remove
that part.
* Combine sed commands to clean up odin version1 parent 2cb932c commit 5911ee2
3 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
147 | 155 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
0 commit comments