Commit Graph

377 Commits

Author SHA1 Message Date
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +00:00
Stefano Avallone
6ec6fc2eb6 core: Add an attribute value storing a std::tuple 2021-12-06 10:49:40 +01:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Gabriel Ferreira
314c02b234 CI job using ns3 wrapper script 2021-12-01 12:29:55 -08:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Eduardo Almeida
b73323471b test: Remove duplicate config test case 2021-11-18 11:57:00 -08:00
Gabriel Arrobo
d53ea68bc2 utils: Improve Python style concerning unused variables and return values 2021-08-21 11:00:24 -07:00
Tommaso Pecorella
838dfe26ec ci: increase the private runners timeout to 12h 2021-06-21 18:35:05 +00:00
Tommaso Pecorella
f580b27f09 ci: fix doxygen generation script 2021-06-17 22:28:01 +00:00
Tommaso Pecorella
5c73ae4ccb ci: simplify doxygen warnings script 2021-06-16 22:49:21 +00:00
Tommaso Pecorella
705e8c2476 ci: prevent spurious stop on doxygen builds 2021-06-10 00:56:02 +00:00
Tommaso Pecorella
77d6088608 ci: fix master doxygen fails 2021-05-27 00:36:44 +00:00
Tommaso Pecorella
a13fe418ba ci: fix gcc-11 test 2021-05-16 18:06:58 +00:00
Tommaso Pecorella
2d150b0f6a ci: add gcc-11 jobs 2021-05-14 17:52:02 +00:00
Tommaso Pecorella
0bc6512941 ci: update weekly jobs
- remove gcc<7, ubuntu 16.04
- add ubuntu 21.04, fedora 34
2021-05-13 22:10:57 +00:00
Eduardo Almeida
6aa2d3238e Update Python scripts to the safer "with open() as" Python syntax 2021-05-11 23:38:30 +00:00
Tommaso Pecorella
de8505ce2d ci: doc - fix ImageMagik conversion policy 2021-05-11 21:03:26 +00:00
Tommaso Pecorella
5beeda40a2 ci: switch to archlinux for documentation stage 2021-05-09 21:25:01 +00:00
Tommaso Pecorella
963991426f ci: fix doxygen script (7) 2021-05-03 23:20:09 +00:00
Tommaso Pecorella
5a22bf1f05 ci: fix doxygen script (6) 2021-05-03 17:48:10 +00:00
Tommaso Pecorella
c419271ec9 ci: fix doxygen script (5) 2021-05-03 17:24:07 +00:00
Tommaso Pecorella
63372b26d9 ci: fix doxygen script (4) 2021-05-03 14:42:18 +00:00
Tommaso Pecorella
5c44b41a56 ci: fix doxygen script (3) 2021-05-03 14:06:36 +00:00
Tommaso Pecorella
e2b73619ab ci: fix doxygen script (2) 2021-05-03 13:16:41 +00:00
Tommaso Pecorella
ba5835e497 ci: fix doxygen script 2021-05-03 12:59:47 +00:00
Peter Barnes
778f604511 ci: (fixes #207) doxy use warnings report, filtered to files touched in commit 2021-05-03 02:37:51 +02:00
Tommaso Pecorella
d7a08785d7 CI: update archlinux image 2021-04-29 20:45:59 +00:00
Alexander Krotov
7840671edf ci: add "ccache-" prefix to ccache cache
To avoid conflicts in case we add more caches for other things.
2021-04-15 17:34:09 +03:00
Alexander Krotov
3b54a8af17 ci: share ccache directory between branches 2021-04-15 14:18:35 +00:00
Tommaso Pecorella
fe26cf8b46 gitlab: move doxygen buildbot to private runner 2021-03-12 20:42:33 +00:00
Tommaso Pecorella
b119de63f2 gitlab: run daily-debug on a private server 2021-02-12 17:36:24 +00:00
Tommaso Pecorella
ab04f29830 gitlab: fix CI test script 2021-02-09 20:26:44 +00:00
Tommaso Pecorella
f158e46fa7 gitlab: (partial fix to #330) run CI tests in optimized and release only. 2021-02-06 02:44:06 +00:00
Tommaso Pecorella
6b6e630165 gitlab: (partial fix to #330) add key to cache (2) 2021-02-06 00:20:27 +00:00
Tommaso Pecorella
c16fce9634 gitlab: (partial fix to #330) add key to cache 2021-02-05 09:36:18 +00:00
Tom Henderson
e74c32d529 Update Python unit tests (update API, add copyright) 2021-01-19 18:15:44 -08:00
Tommaso Pecorella
796dee50e7 gitlab: add daily valgrind test 2021-01-02 18:33:25 +00:00
Tommaso Pecorella
5368b58278 gitlab: (fixes #325) update CI scripts 2020-12-30 21:43:39 +00:00
Mathew Bielejeski
2cea1e4ccd core: (merges !434) Length class to support length values with units 2020-12-02 20:05:29 -08:00
Jared Dulmage
d244597a2b Documentation, better conformance to AttributeChecker conventions
Both PairChecker and AttributeContainerChecker factory functions
modified to return more generic AttributeCheckers similar to other
attribute types. By removing the templated return type, the internal
templated classes become necessary to define checkers for each
templated type. This follows the pattern in PointerChecker and
ObjectContainerChecker.

The pair-value-test-suite and attribute-container-test-suite were
amended to account for the changes in the checker factories. All
tests continue to pass.

Plenty of documentation was added to PairValue and AttributeContainerValue
and I also removed some dead code.
2020-09-20 15:33:38 -07:00
Jared Dulmage
c8f2bf250e Addressed comments for nsnam/ns-3-dev MR 91
- Removed unnecessary files src/core/model/{attribute-container,pair}.cc
- Removed 'explicit' modifier to PairChecker
- Modified output stream operator for PairValue; update PairValueTestCase
- Updated src/core/wscript to latest master
- Added Pair and AttributeContainer to utils/print-introspected-doxygen.cc
2020-09-20 14:52:02 -07:00
Natale Patriciello
9cdaa502f7 ci-cd: Fixed weekly schedules, added test.py to per-commit jobs 2020-09-01 10:06:34 +02:00
Natale Patriciello
804d16d1b7 ci-cd: Don't execute per-commit jobs with a binding generation schedule 2020-08-28 10:42:23 +02:00
Natale Patriciello
c261cb01cc ci-cd: Generate python bindings from Gitlab 2020-08-28 10:36:10 +02:00
Natale Patriciello
c8a59fd14b ci/cd: Added linux tag to pick the correct runner 2020-08-27 15:46:45 +02:00
Natale Patriciello
8a682e1497 ci/cd: Enabled weekly test with tag nsnam
The jobs will be submitted (hopefully) to the nsnam-tagged servers.
2020-08-26 19:20:19 +02:00
Peter Barnes
c7c2e76d41 core: (fixes #247) unlimited arguments in MakeEnumChecker 2020-08-24 18:50:07 +00:00
Mathew Bielejeski
5d13b2b80c build: Create version.cache file with dummy data when git tags are absent
* Change version tag and ClosestTag values to be ns-3.xx
* Fix string values to have the proper format
* Allow check-version to proceed even if git task is not present
* Remove git package requirement from Docker containers
* Create git_ns3_version_info task only when HAVE_NS3_REPO is defined
* Change tag glob from ns-3* to ns-3.[0-9]*
* Use version tag to make output consistent with waf --check-version
2020-08-18 15:39:34 -07:00
Mathew Bielejeski
941a67fca7 Adjust GitLab.com CI configuration for build version feature
* Add a git tag to the tip of the branch before building
* Install git package before building
* Update ubuntu and fedora builds to install git package
2020-08-14 14:14:37 -07:00