Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check user's version of Odin executables #28

Open
gvrooyen opened this issue Aug 28, 2024 · 0 comments
Open

Check user's version of Odin executables #28

gvrooyen opened this issue Aug 28, 2024 · 0 comments

Comments

@gvrooyen
Copy link
Contributor

Since Odin has monthly and nightly builds, it might be worthwhile to have a script that checks if you have Odin installed and whether it's outdated. If so, it can download the correct version from GitHub. (@BNAndras)

The test.yml GitHub Action is configured to test the solution against a very specific Odin version (down to the commit hash), and this will also be the version against which Exercism users' solutions will be tested. Possible ways in which we can help contributors to test against the same version are:

  1. Add a fetch-odin script that can fetch, build, and install the reference version of the compiler.
  2. Let the fetch-odin --check-version / fetch-odin -c script compare the installed version with the reference version, and indicate whether an update is needed.
  3. Let run-tests.sh give an INFO message if the currently installed Odin version is newer than the reference, and a WARNING if it is older.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant