risc-v-tlm/.travis.yml

34 lines
830 B
YAML
Raw Normal View History

2018-09-27 19:38:16 +08:00
language: cpp
os:
- linux
script:
2021-11-25 21:20:58 +08:00
- mkdir -p build && cd build
- cmake ..
- make -j 2
2018-09-27 19:38:16 +08:00
compiler:
- gcc
2021-02-21 21:06:56 +08:00
before_install:
- sudo apt-get update
2021-11-25 21:20:58 +08:00
- sudo apt-get -y install libboost-all-dev libspdlog-dev
2021-02-21 21:06:56 +08:00
2018-09-27 19:38:16 +08:00
install:
2018-09-27 20:03:22 +08:00
- cd ..
2021-11-26 06:31:06 +08:00
- wget --no-check-certificate http://www.accellera.org/images/downloads/standards/systemc/systemc-2.3.3.tar.gz
- tar xfvz systemc-2.3.3.tar.gz
- cd systemc-2.3.3
2018-09-27 20:03:22 +08:00
- mkdir build && cd build
2021-11-26 07:21:29 +08:00
- cmake .. -DCMAKE_CXX_STANDARD=17
2018-09-27 20:03:22 +08:00
- make -j 4 && make install
- cd ../..
2021-11-26 06:31:06 +08:00
- rm systemc-2.3.3.tar.gz
2021-11-26 08:05:08 +08:00
- git clone https://github.com/gabime/spdlog.git
2021-11-26 08:08:26 +08:00
- cd spdlog
2021-11-26 08:05:08 +08:00
- cmake -H. -B_builds -DCMAKE_BUILD_TYPE=Release
- cmake --build _builds --config Release
2021-11-26 08:08:26 +08:00
- cmake -H. -B_builds -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release
2021-11-26 08:05:08 +08:00
- cmake --build _builds --target install
2021-11-26 08:08:26 +08:00
- cd ..
2018-09-27 20:11:06 +08:00
- cd RISC-V-TLM