Commit Graph

47 Commits

Author SHA1 Message Date
Eduardo Almeida
0d593ea044 ci: Rename gitlab-ci-daily.yml to gitlab-ci-scheduled.yml 2023-08-20 15:25:46 +00:00
Eduardo Almeida
d2820a7280 ci: (fixes #831) Enable warnings-as-errors for all jobs 2023-08-15 14:24:48 +00:00
Gabriel Ferreira
c8a90d1e01 ci: Add the EXTRA_OPTIONS variable for uncommon configuration settings 2023-06-01 15:57:59 +00:00
Tommaso Pecorella
455cfda2d5 ci: use artifacts to speedup test jobs 2023-05-12 18:07:11 +00:00
Eduardo Almeida
89b44debb9 ci: Use double square brackets in if-else conditions 2023-05-08 09:03:24 +00:00
Tommaso Pecorella
4836980c3f ci: fix double pipelines in MRs 2023-05-03 19:45:04 +02:00
Tommaso Pecorella
81584daca7 ci: refactor CI jobs to split build and test phases. 2023-04-15 22:38:59 +00:00
Gabriel Ferreira
c5e22f542b ci: skip tests if the same build (no cache misses) already passed them 2022-12-04 06:39:02 +00:00
Eduardo Almeida
9e39d6d5ad ci: Enable MPI in per-commit jobs 2022-10-24 16:43:00 +01:00
Gabriel Ferreira
82bbdfacb1 ci: Cleanup build artifacts after testing 2022-10-11 15:25:05 -03:00
Eduardo Almeida
2ce78604b9 ci: Rename "coding-style" stage to "code-linting" 2022-10-06 21:12:15 +00:00
Eduardo Almeida
aa09261539 ci: Move "coding-style" stage to after "build" stage 2022-10-06 19:49:37 +00:00
Eduardo Almeida
ba90a75497 ci: Fix duplicate weekly clang job names 2022-09-14 22:29:06 +00:00
Tommaso Pecorella
a5adf75663 ci: add a clang per-commit job and update the weekly clang jobs 2022-09-14 16:06:06 +02:00
Tommaso Pecorella
403aec2aa3 ci: save compilation cache also for failed jobs 2022-09-04 21:54:28 +02:00
Tommaso Pecorella
467e956dd6 ci: fix pacman key initialization 2022-08-17 10:00:44 -05:00
Eduardo Almeida
9738d6b267 ci: Add .base-per-commit-compile base job 2022-08-13 17:07:48 +00:00
Eduardo Almeida
dc82143a17 ci: Use double quotes instead of single quotes 2022-08-13 17:07:48 +00:00
Eduardo Almeida
e319b18d59 ci: Refactor before_script segments 2022-08-13 17:07:48 +00:00
Gabriel Ferreira
b45b583f10 ci: switch pybindgen CI to cppyy 2022-08-01 21:24:02 +00:00
Eduardo Almeida
9a5ca86d06 ci: Add CI job to check trailing whitespace 2022-06-05 20:59:44 -07:00
Gabriel Ferreira
0548f480ee CI: Add Alpine job to check if ns-3 can be built with Musl C library 2022-05-17 16:20:56 -03:00
Tommaso Pecorella
6b754a3c34 ci: swap release builds with default 2022-05-01 18:32:32 +02:00
Gabriel Ferreira
4df6af79d4 bindings, CI: run python scripts with ns3 and add bindings scanning job 2022-04-18 11:38:12 -03:00
Gabriel Ferreira
2d1efe3f76 CI: enable mpi tests and indicate ns3 is running on a CI environment 2022-01-23 17:34:58 -03:00
Gabriel Ferreira
330ffb75b6 CI: add flags required by recent openmpi to run on the CI 2022-01-19 16:25:03 -03:00
Tom Henderson
4ee323f8fd build: (merges !837) Remove libgcrypt detection 2022-01-13 17:41:39 -08:00
Gabriel Ferreira
53260b5d27 CI: Specify c++ compiler and install ssh for CI jobs with MPI 2022-01-09 04:14:41 -03:00
Tommaso Pecorella
3d23f9ed09 CI: switch to cmake 2022-01-05 12:10:58 -06:00
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
Gabriel Ferreira
314c02b234 CI job using ns3 wrapper script 2021-12-01 12:29:55 -08:00
Tommaso Pecorella
838dfe26ec ci: increase the private runners timeout to 12h 2021-06-21 18:35:05 +00: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
f158e46fa7 gitlab: (partial fix to #330) run CI tests in optimized and release only. 2021-02-06 02:44:06 +00:00
Tommaso Pecorella
c16fce9634 gitlab: (partial fix to #330) add key to cache 2021-02-05 09:36:18 +00: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
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
Eduardo Almeida
153492e56d utils: (fixes #138) Update CI scripts and README file after adding timeout value
see merge request !187
2020-02-14 09:12:20 +01:00
Natale Patriciello
921b47d0aa ci: Fix pacman error while updating 2019-02-21 12:10:52 +01:00
Natale Patriciello
c466278f05 ci: Removed 'y', as per update database, from the CI script for archlinux 2019-02-17 22:00:18 +01:00
Natale Patriciello
f6c49ef713 ci: Updated docker image to archlinux/base 2019-02-09 10:02:01 +01:00
Natale Patriciello
441ae70c64 Example CI for ns-3 and Gitlab 2019-01-07 09:15:40 +01:00