mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Add Environment section to Troubleshooting in Install Guide
This commit is contained in:
parent
d5e8dae6dc
commit
d8df914ebf
@ -60,13 +60,23 @@ Trick runs on GNU/Linux and macOS, though any System V/POSIX compatible UNIX wor
|
||||
|
||||
---
|
||||
### Troubleshooting
|
||||
|
||||
#### Environment Variables
|
||||
Sometimes environment variables affect the Trick build and can cause it to fail. If you find one that isn't listed here, please create an issue and we'll add it to the list.
|
||||
|
||||
|
||||
```
|
||||
JAVA_HOME # Trick and Maven will use JAVA_HOME to build the GUIs instead of javac in PATH if it is set.
|
||||
TRICK_HOME # This variable is optional but may cause a Trick build to fail if it is set to the wrong directory.
|
||||
CFLAGS, CXXFLAGS, LDFLAGS # If these flags are set they may affect flags passed to your compiler and linker
|
||||
```
|
||||
#### If You Think The Install Instructions Do Not Work Or Are Outdated
|
||||
If the Trick tests are passing, you can see *exactly* how we configure our test machines on Github's test integration platform, Github Actions.
|
||||
|
||||
If logged into any github account on github.com, you can access the [Actions](https://github.com/nasa/trick/actions) tab on the Trick repo page. Go to [Trick-CI](https://github.com/nasa/trick/actions?query=workflow%3A%22Trick+CI%22), and click the latest passing run. Here you can access a log of our shell commands to configure each OS with dependencies and also the commands we use to install Trick. In fact, that is exactly where I go when I want to update the install guide! @spfennell
|
||||
|
||||
The configuration for these tests can be found in the [trick/.github/workflow/test.yml](https://github.com/nasa/trick/blob/master/.github/workflows/test.yml) file.
|
||||
|
||||
|
||||
---
|
||||
<a name="redhat8"></a>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user