59 Commits

Author SHA1 Message Date
Gabriel Ferreira
50fe52d74d ci: Add MacOS jobs for GitLab CI 2025-09-02 10:27:52 +00:00
Gabriel Ferreira
9be65febb9 ci: (fixes #327) Add weekly tests for test-test.py and test-ns3.py 2025-08-25 22:34:22 +02:00
Gabriel Ferreira
d449774e5a ci: Print verbose output for failed test jobs 2025-05-07 11:21:18 +02:00
Tommaso Pecorella
9d80dbbd27 ci: limit the ccache size to 3GB 2024-09-08 17:04:00 +00:00
Eduardo Almeida
c0176df437 ci: Add bindings/ dir to list of dirs that trigger build jobs 2024-08-28 00:43:37 +00:00
Eduardo Almeida
5c5481e20a ci: Print changed files instead of saving artifact 2024-07-06 12:28:47 +00:00
Eduardo Almeida
9621afd8f2 ci: Skip .base-build job if no source code or configurations are changed 2024-06-18 18:17:47 +01:00
Eduardo Almeida
f4d51ae75d ci: Run pipelines for all events (including Git tags) 2024-02-23 12:28:45 +00:00
Eduardo Almeida
c5889b1768 ci: Set all jobs as interruptible, except manual jobs and release stage 2024-02-23 09:34:19 +00:00
Eduardo Almeida
53da52fb5c ci: Add workflow:auto_cancel flag to pipeline settings 2024-02-23 09:34:19 +00:00
Eduardo Almeida
ffcbc322ad ci: Add stage to generate GitLab releases of stable ns-3 versions 2024-01-29 15:03:13 +00:00
Eduardo Almeida
5144ee875e ci: Enable MPI module in all jobs 2023-12-07 17:40:37 +00:00
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