diff options
author | 1138-4EB <1138-4EB@users.noreply.github.com> | 2019-11-21 17:39:24 +0000 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2019-11-21 18:39:24 +0100 |
commit | e506f77e8f6ddeb3e114a3b7e3ce5f114192d801 (patch) | |
tree | d9387c5867ba98c81988591713249915230db9e3 /testsuite/gna | |
parent | 03862a4607fd127e6570a3e141a92265a23c2a68 (diff) | |
download | ghdl-e506f77e8f6ddeb3e114a3b7e3ce5f114192d801.tar.gz ghdl-e506f77e8f6ddeb3e114a3b7e3ce5f114192d801.tar.bz2 ghdl-e506f77e8f6ddeb3e114a3b7e3ce5f114192d801.zip |
Actions: add workflow 'push' (#1016)
* use CC=clang to build C sources on macOS
* actions: ensure that shared libs are in the PATH on windows
* ci: add GitHub Actions 'push' workflow
* ci: fix group labels
* dist: add GRAY to ansi_color
* ci: use same scripts for GHA and Travis
Diffstat (limited to 'testsuite/gna')
-rwxr-xr-x | testsuite/gna/bug097/testsuite.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/gna/bug097/testsuite.sh b/testsuite/gna/bug097/testsuite.sh index 126e39c03..b1836a423 100755 --- a/testsuite/gna/bug097/testsuite.sh +++ b/testsuite/gna/bug097/testsuite.sh @@ -2,8 +2,12 @@ . ../../testenv.sh -gcc -c -fPIC getrand.c -gcc -o getrand.so --shared getrand.o +if [ -z $CC ]; then + CC="gcc" +fi + +$CC -c -fPIC getrand.c +$CC -o getrand.so --shared getrand.o analyze tb.vhdl elab_simulate tb |