Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Cornelius Riemenschneider a66f8209f9 Rust: Vendor 3rdparty dependencies.
We've been observing some performance issues using crate_universe on CI.
Therefore, we're moving to vendor the auto-generated BUILD files
in our repository. This should provide a nice speed boost, while
getting rid of the complexity of the "rust cache" job we've been using
when we had a lot of git dependencies.

This PR includes a vendor script, and I'll put up a CI job internally
that runs that vendor script on Cargo.toml and Cargo.lock changes, to check
that the vendored files are in sync.
2024-11-13 13:22:14 +01:00
Cornelius Riemenschneider f900060e7f Bazel: Upgrade to bazel 8. 2024-10-24 13:30:57 +02:00
Cornelius Riemenschneider 4c21444dd5 Bazel: Flip --incompatible_use_plus_in_repo_names.
We've hardcoded the tilde in a lot of places :(
This improves performance on Windows and gets us ready for Bazel 8.

We need an upgrade of rules_rust for this to work.
2024-10-09 14:04:05 +02:00
Cornelius Riemenschneider f9bc97b2a1 `crate_universe`: Enable modext isolation.
This should allow us to build our python and ruby
code independently - in particular, we can now do shallow
checkouts of one without the other.
Previously, the modext introduced cross-dependency.
This also reduces the amount of work we do in the
crate universe processing for the other language, even
though it's unused.

This does need renaming the module, as otherwise
the generated paths from rules_rust get too long
for Windows :(
2024-08-18 21:00:30 +02:00
Paolo Tranquilli bfc37fddff Bazel: move `--build_tests_only` from swift action to `.bazelrc` 2024-05-31 12:35:52 +02:00
Paolo Tranquilli 8e26f64f89 Bazel: fix non-swift macOS builds
This is meant to be cleaned up in a later PR with respect to the TODOs.
2024-05-31 11:49:36 +02:00
Paolo Tranquilli 2606d3f6d1 Reapply "Bazel: add codeql specific packaging library"
This reverts commit 31d6b9be4d.
2024-05-29 15:46:29 +02:00
Paolo Tranquilli 31d6b9be4d
Revert "Bazel: add codeql specific packaging library" 2024-05-29 15:27:10 +02:00
Paolo Tranquilli 2f53c0e640 Bazel: fix `codeql_pack` installation on Windows 2024-05-27 16:09:42 +02:00
Paolo Tranquilli 2bec696114 Merge branch 'main' into redsun82/pkg 2024-05-27 13:13:12 +02:00
Cornelius Riemenschneider d30ed54bfd
Merge branch 'main' into criemen/bazel-csharp 2024-05-24 18:02:20 +02:00
Paolo Tranquilli e8b857b79e Bazel/Swift: add zip imports to packs 2024-05-24 12:18:42 +02:00
Paolo Tranquilli 90a152a2bc Swift: add flags and instructions for building on macOS ARM 2024-05-23 10:44:06 +02:00
Cornelius Riemenschneider 71372bc74c C#: Add Bazel-based build system.
This commits a bazel-based build system for C#
using `rules_dotnet`. External dependencies are managed
via `paket`, and updates to the generated bazel files
are done via `./update-deps.sh`.
We're providing our own (minimal) test runner for `xunit`
tests.
2024-05-21 09:14:13 +02:00
Paolo Tranquilli 73df4fa920 Go: fix Windows installation 2024-05-06 14:55:35 +02:00
Paolo Tranquilli 77128de105 Bazel/Go: make installer work from internal repo and on windows
It turns out everything that is needed for the installer to work on
windows is enabling runfiles. This also requires symlinks to avoid
excessive copying of files.
2024-05-03 17:45:57 +02:00
Paolo Tranquilli e7886d0e57 Bazel: add empty registry override 2024-04-29 13:39:30 +02:00
Paolo Tranquilli 0471287cdd Bazel: remove unstable lock file 2024-02-22 11:53:47 +01:00
Paolo Tranquilli f1bdd6bdda Bazel: switch to erroring out by default on outdated lock file 2024-02-22 11:26:39 +01:00
Paolo Tranquilli 67222f8f7e Bazel: add module lock file 2024-02-22 11:09:15 +01:00
Paolo Tranquilli cda4ca68f8 Bazel: tweak `.bazelrc` 2024-02-22 11:08:50 +01:00
Paolo Tranquilli 3ca9d70100 Bazel: drop `experimental` from bzlmod flag 2024-02-21 16:53:08 +01:00
Paolo Tranquilli 61bfe7e520 Bazel: rename internal module to `semmle_code` 2024-02-21 16:51:39 +01:00
Paolo Tranquilli c0eeb7a34e Bazel: reference (and locally stub) internal module 2024-02-12 15:58:43 +01:00
Paolo Tranquilli 19bb8fe22d Bazel: use bzlmod 2024-02-12 10:55:40 +01:00
Alexandre Boulgakov abc6d62b6f Swift: Use platform-specific Bazel config. 2023-06-16 17:24:04 +01:00
Alexandre Boulgakov 5952a729df Build: Bump build mode to C++20. 2023-06-08 13:10:43 +01:00
Paolo Tranquilli ce6109547b Bazel: only pass `-std=c++17` for C++ compilation 2022-09-15 12:30:30 +02:00
Alex Denisov 4a03976a15 Swift: set compiler flags explicitly 2022-04-28 13:17:05 +02:00
Alex Denisov 272aa594cc Swift: compiler options moved to .bazelrc 2022-04-27 17:11:16 +02:00
Paolo Tranquilli 95dbf2d666 Swift: first skeleton extractor
This adds a first dummy extractor for swift.

Running `bazel run //swift:install` will create an `extractor_pack`
directory in `swift`. From that moment providing `--search-path=swift`
will pick up the extractor.
2022-04-12 12:40:59 +02:00