Commit Graph

67 Commits

Author SHA1 Message Date
diegomrsantos 3e3df07269
chore: add support to merge queues (#1192)
This change is necessary before enabling merge queues. The `merge_group`
event is needed to trigger the GitHub Actions workflow when a pull
request is added to a merge queue.

The merge queue provides the same benefits as the Require branches to be
up to date before merging branch protection but does not require a pull
request author to update their pull request branch and wait for status
checks to finish before trying to merge. More info on
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.
2024-09-10 16:10:24 +00:00
diegomrsantos 47a51983b5
chore(CI): rollback nph change (#1187)
Rollbacks to the previous `nph` command that shows what files aren't
formatted.
2024-09-03 09:01:35 +00:00
Álex 70754cd575
ci: Enable conditional SAT solving (#1177)
* Add conditional SAT dependency solving to a new daily job.

closes: https://github.com/vacp2p/nim-libp2p/issues/1174
2024-09-02 15:33:16 +02:00
Álex c6e8fadbda
fix(ci): Daily workflow parent's name (#1182)
* Fix daily workflows' parent's name.
2024-08-23 15:57:08 +02:00
Álex 6ec038d29a
chore: Cleanup CI (#1117)
* Standardise names
* Update actions versions
* Update parameter handling
* Split jobs into steps

---------

Co-authored-by: kaiserd <1684595+kaiserd@users.noreply.github.com>
2024-08-06 16:24:13 +02:00
Álex fdae9e4b42
fix(test): interop transport (#1159)
Free disk space before running the steps of interop's transport test.
The original job has enough space but in our repo it crashes midway due
to missing disk space.

---------

Co-authored-by: kaiserd <1684595+kaiserd@users.noreply.github.com>
Co-authored-by: Diego <diego@status.im>
2024-08-02 15:53:37 +02:00
diegomrsantos 62f2d85f11
fix: add gcc 14 support (#1151)
- Add ubuntu-24-gcc-14 target on CI.
https://github.com/vacp2p/nim-libp2p/issues/1156 prevents us from using
only Ubuntu 24.
- Made the changes necessary to support gcc 14. More info on
https://github.com/status-im/nim-bearssl/pull/62

Fixes https://github.com/vacp2p/nim-libp2p/issues/1150
2024-08-01 14:50:44 +02:00
Álex e5e319c1a9
fix(ci): windows-amd64 (Nim version-1-6) (#1160)
The failure is due to incompatibility (in caching) after Nimble's
v.0.14.0 update, where they changed the dependencies directory name from
`pkgs` to `pkgs2`.
This PR includes the nim branch in the cache key to avoid the directory
name issue.

In the future, if we deprecate support for Nim 1.6 we may remove this.

fixes https://github.com/vacp2p/nim-libp2p/issues/1157

---------

Co-authored-by: Diego <diego@status.im>
2024-08-01 12:54:18 +02:00
diegomrsantos b5fb7b3a97
chore: update os images on ci (#1149)
The main motivation was to update the Ubuntu version on the daily job as
it seemed it wasn't supported anymore.

macOS 14 fails immediately with no error msg, so we are using 13 for
now.
2024-07-11 10:22:16 +02:00
diegomrsantos 86563cbddd
chore: enable Nim 2.0.x and fix compilation issues (#1146)
This PR enables Nim 2.0.x with `refc` garbage collector on CI.

The following compilation error had to be fixed: Error: undeclared
identifier: 'acceptHandler`gensym435'; if declared in a template, this
identifier may be inconsistently marked inject or gensym
2024-07-10 14:24:12 +02:00
diegomrsantos be801602f6
fix: run workflows on master (#1144)
The `unstable` branch wasn't removed from some workflows and `interop`
wasn't running on `master`.
2024-07-05 17:33:34 +02:00
diegomrsantos 0be7144e34
fix(CI): rebuild website job (#1125) 2024-06-19 14:40:01 +00:00
diegomrsantos 1d826ee26f
fix(CI): generate website job (#1124) 2024-06-13 15:28:47 +02:00
diegomrsantos dc83a1e9b6
chore(formatting): format the whole codebase using nph 0.5.1 (#1118) 2024-06-11 17:18:06 +02:00
diegomrsantos 1b91b97499
fix(CI): rename branch from unstable to master in bumper workflow (#1097) 2024-05-10 15:42:43 +02:00
diegomrsantos 250024f6cc
fix: move transport interop tests to nim-libp2p repo (#1031) 2024-02-27 10:55:43 +01:00
diegomrsantos e3c967ad19
improvement(ci): improve ci daily workflows (#1002) 2023-12-18 20:14:33 +01:00
diegomrsantos 3be681ec4d
feat: add hole-punching interop tests (#998) 2023-12-05 18:37:33 +01:00
Roman Zajic 7c195ab927
fix: remove forgotten "matrix-prep" job (#997) 2023-12-02 09:56:50 +08:00
Roman Zajic 3230407ffe
fix: move workflows for Nim Devel and legacy i386 from "Daily" (#968) 2023-12-01 17:47:47 +08:00
diegomrsantos 5f7a3ab829
fix: doc workflow (#985) 2023-11-16 15:58:05 +01:00
Tanguy 575344e2e9
Update interop CI name (#956) 2023-10-05 10:54:24 +02:00
Tanguy 20b0e40f7d
Fix doc generation CI (#948) 2023-09-08 12:21:04 +02:00
Tanguy 9d4c4307de
Bumper: fix case where target is up to date (#917) 2023-06-15 18:37:01 +02:00
Tanguy c76d1e18ef
Remove nim 1.2 support (#907) 2023-06-07 11:12:49 +00:00
Tanguy fedfa8e817
Fix bumper CI (#894) 2023-05-22 17:37:42 +02:00
diegomrsantos edbd35b16c
Fix interop tests (#882) 2023-04-13 19:38:34 +02:00
Tanguy 382b992e00
Interop tests (#864) 2023-02-20 14:26:53 +01:00
Tanguy 711609057c
Reuseable install_nim action (#803) 2022-11-21 16:56:04 +01:00
Tanguy cc3c637c22
Daily CI: run devel with refc (#799) 2022-11-16 16:56:02 +01:00
Tanguy afbb1b4d3c
Fix Codecov (#802)
Also switch from 14 jobs to 1
2022-11-16 14:33:42 +01:00
Tanguy c39c1cbf68
Fix daily CI (#790) 2022-10-29 23:26:44 +02:00
Tanguy eb78660702
Docs rework (#776) 2022-09-28 10:40:53 +02:00
Tanguy a001508490
Add codex & waku to autobump (#768) 2022-09-14 12:05:43 +00:00
Miran 14d2c3f51e
Configuration refactoring (#732)
move -d:nimRawSetjmp to nim.cfg
switch .cfg to .nims
add --skipParentCfg

Co-authored-by: Tanguy <tanguy@status.im>
2022-09-01 14:00:22 +02:00
Miran 20c02a5f23
ci: test Nim 1.6 branch (#747)
* ci: test Nim 1.6 branch
* drop `devel` from testing

Co-authored-by: Tanguy <tanguy@status.im>
2022-08-02 19:07:08 +02:00
Tanguy 83ad890535
Documentation site (#745) 2022-07-26 12:44:26 +02:00
Tanguy 0b0686ee94
Move auto bump to different CI job (#731) 2022-07-26 12:35:02 +02:00
Tanguy 93ac795aef
Bump dependencies (#744) 2022-07-22 21:39:06 +02:00
Tanguy 150fafbee8
Faster CI (#724)
* Only compile once in CI
* Fix codecov fetch
2022-07-01 20:20:42 +02:00
Tanguy d0523fdc9d
Documentation (#716) 2022-07-01 20:19:57 +02:00
Tanguy 868ecab54f
Pin go version in CI (#706) 2022-04-05 13:12:55 +02:00
Ștefan Talpalaru e72d03bc78
CI: test with multiple Nim versions by default (#684)
* CI: test with 1.2 & devel by default
* Skip buggy windows websocket test
2022-01-10 12:29:52 +01:00
Tanguy 1e7e95f5fd
Pin dependencies for CI (#677)
Adds a pin-file for CI. When a dependency break something in the libp2p, we don't want for the CI to be
broken on every branch, just on a "bump" branch that will update the pin-file & fix the eventual interop issue.
2021-12-16 18:00:10 +00:00
Tanguy 5f18968c3f
CI Multi nim: only test slim 2021-11-19 11:52:29 +01:00
Ștefan Talpalaru b308affb98
CI: test multiple Nim compiler branches (#624)
* CI: test multiple Nim compiler branches

* make it a separate workflow and limit target branches

* make it a daily job
2021-10-26 14:47:30 -06:00
Tanguy 68af8122e9
Fix macos go-daemon CI (#622)
bump libp2p-go-daemon
2021-09-08 16:58:44 +02:00
Tanguy Cizain e58658d822
Fix unstable autobump (#613) 2021-08-03 11:43:00 -06:00
Tanguy Cizain 008dcf7043
Faster CI (#603)
* ci on PR only

* add option to run ci manually

* thanks Stefan
2021-07-13 10:26:49 +02:00
Ștefan Talpalaru fbe888a3aa
CI: refactor Nim compiler building (#579) 2021-06-02 12:26:03 -06:00