Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ jobs:
- name: build & install the unmanaged dependencies
run: util/deps-build.sh
- name: build
run: ./ci-default --unity --lto --build-r
run: ./ci-default --unity --lto
- name: run demo
run: ./ci-default --unity --lto --build-r --run-demo
run: ./ci-default --unity --lto --run-demo
- uses: actions/upload-artifact@v2
with:
name: tsqsim-${{ matrix.os }}
Expand Down
3 changes: 2 additions & 1 deletion util/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def get_r_path(search_dir = '.'):
if os.path.isdir(dir_osx11):
dir_framework = dir_osx11
if not os.path.isdir(dir_framework):
raise IOError("The R Framework's dir: {} wasn't found".format(dir_framework))
if args.build_r: # Don't panic, if R wasn't selected
raise IOError("The R Framework's dir: {} wasn't found".format(dir_framework))
exports_r = "&& export R_HOME={} && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$R_HOME/lib".format(dir_framework)
os.chdir(prev_dir)

Expand Down