summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)Author
2020-12-04Revert "ci: Temporarily drop all Windows builders."Justus Winter
This reverts commit 327a987e2c95ea9d05fcadd6fa7a8c249372affd.
2020-11-05ci: Temporarily drop all Windows builders.Wiktor Kwapisiewicz
2020-10-14ci: Do not run all_commits for pep-engine branch.Nora Widdecke
- The `pep-engine` branch only gets merge commits from master, checking all commits on top of master does not make sense here.
2020-10-14sq: Rename module to 'sequoia-sq'.Justus Winter
2020-10-12ci: Test that we can build ffi/openpgp-ffi with CNG backend enabledIgor Matuszewski
2020-10-09ci: Run openpgp tests for each commit.Nora Widdecke
- Add a job to test all commits up to master. - Use `git rebase --exec` to run tests for each commit. - Set dummy credentials to make git rebase happy. - Use `git clone` strategy to limit impact on other jobs.
2020-10-09ci: fail fast if codespell failsAzul
Abort the ci run if codespell fails. Rust-stable was marked as independent of codespell which makes it start right away. If codespell fails and rust-stable still runs gitlab will show the state of the entire pipeline as pending. In some places it also displays the state of the different stages. Here one can see that the .pre stage already failed. But it would be nice to get this feedback everywhere asap. This means that the build jobs have to wait ~20sec. for codespell. But the faster indication of syntax errors is worth that.
2020-10-05ci: Don't check every package under Windows MSVC imageIgor Matuszewski
We don't preinstall `capnp` in the MSVC image so don't check every package for now until we do.
2020-10-04ci: Format .gitlab-ci.ymlIgor Matuszewski
2020-10-04ci: Use our pre-built docker images for testing WindowsIgor Matuszewski
These come with preinstalled with either Visual C++ Build Tools (MSVC) or other dependencies, e.g. clang or nettle (GNU). Installing these dependencies take significant amount of time so let's only do it once and only run relevant checks in the CI/CD pipeline.
2020-09-21ci: Use Rust 1.46.0 on windows.Nora Widdecke
2020-09-21ci: Extract codespell job.Nora Widdecke
- Ingore all target dirs. - Adapt to new codespell dictionary: Add keyserver, keypair, dedup, fpr to ingore list.
2020-09-21ci: Enable valgrind test on bullseye.Nora Widdecke
2020-09-21ci: Remove buster runner.Nora Widdecke
- move codespell job to bullseye - move valgrind test to bullseye
2020-08-20ci: Generate larger values in the quickcheck::Arbitrary.Justus Winter
- By setting an undocumented environment variable, we can tweak the random number generator used by quickcheck.
2020-08-13ci: Install VS 2019 C++ Build ToolsIgor Matuszewski
2020-08-13ci: Test Windows also on MSVC toolchainsIgor Matuszewski
2020-04-03ci: Fix running tests on clones.Justus Winter
- Previously, our tests were tagged with 'self-hosted' to prevent the shared runners picking up our tasks. I have disabled the shared runners now that we have our own Windows runner, so we can drop the 'self-hosted' tag. - This fixes running the tests on clones that do not have access to our runners. - Tag the jobs with 'linux' instead to prevent any Windows runners from picking them up.
2020-04-01ci: Install chocolateyIgor Matuszewski
We need this to save ourselves a headache with fixed-point nature of MSYS installation if we were to do all of that manually.
2020-04-01ci: Use self-hosted Windows instancesIgor Matuszewski
2020-03-31ci: Trigger Windows builds on branches containing 'windows' keywordIgor Matuszewski
2020-03-30ci: Add a Windows job using GitLab Windows Shared RunnersIgor Matuszewski
2020-03-25ci: Improve tests for changes (or the lack thereof) in the source.Justus Winter
2020-03-20ci: Avoid concurrent build jobs from clobbering their state.Justus Winter
2020-03-20ci: Restrict the ci jobs to our self-hosted runners.Justus Winter
2020-03-18ci: Only test core components and low-level ffi interface on buster.Justus Winter
2020-03-16ci: Also test the core components with latest stable rust.Justus Winter
2020-03-13ci: Also build on Debian Bullseye.Justus Winter
2020-02-17ci: Check spelling using codespell.Justus Winter
2019-11-10ci: Do not cargo clean our crates.Justus Winter
2019-11-10ci: Use an implicit cache that persists on our runner.Justus Winter
2019-11-10ci: Use environment variables to configure cargo.Justus Winter
- And use them in the diagnostics.
2019-10-25rfc2822,openpgp: Move rfc2822 crate to be a private mod in openpgpNeal H. Walfield
- The rfc2822 crate doesn't implement all of RFC 2822. Moreover, it includes a number of extensions. This makes rfc2822 a misnomer. - RFC 2822 is actually obsoleted by RFC 5322. This means that if we ever add support for RFC 5322, it will be an even worse misnomer. - Move the whole crate into the openpgp crate. Note: we don't directly export the API; it is only used internally by packet::userid. - Closes #279.
2019-08-22ci: Make sure the tool documentation is up-to-date.Justus Winter
- Fixes #309.
2019-08-20ci: Fail build on warnings.Justus Winter
- Fixes #306.
2019-08-20ci: Delete files not accessed for seven days.Justus Winter
- See #194.
2019-05-22ci: Print full backtraces in case of errors.Justus Winter
2019-05-15ci: Tar the cache to efficiently handle hard links.Justus Winter
- GitLab uses zip to cache build artifacts. Zip, however, does not preserve hard links, leading to unnecessary inflation of archive size and CPU time spent on compression. - See https://gitlab.com/gitlab-org/gitlab-ce/issues/37444
2019-05-15ci: Don't cache Cargo.lock, that is checked in now.Justus Winter
2019-05-14ci: Clean our crates before the cache is prepared.Justus Winter
- On the assumption that our dependencies change rarely (we pin them by having our Cargo.lock checked in), and that recompiling them takes longer than using the cache, we keep our dependencies cached, but drop any artifacts related to Sequoia. - Hopefully addresses #194.
2019-03-19ci: Delete stale files, second try.Justus Winter
- Refine the access-time based deletion of stale files. Previously, we used a fixed timespan. However, this seem to be ineffective, either because the compression format used by the caching mechanism didn't preserve access times, or because du modified the access time. - Either way, we now create a timestamp file and delete files that have a access time older than the timestamp's modification time. - (Hopefully) addresses #194.
2019-02-17ci: Delete old build artifacts.Justus Winter
- See #194.
2019-01-11ci: Work around Python test failures.Justus Winter
- When building the bindings first, testing them later, the tests fail most of the time. I have not found the reason yet. - Reverts 9549da4b2bfa29519bb453a1f4fdd9baa536b57b.
2019-01-11ci: Use valgrind to run our C tests.Justus Winter
2019-01-11ci: Build first, then test.Justus Winter
2018-07-27ci: Use our own image as base.Justus Winter
- While this -to my surprise- does not seem to speed up the test, it does make the log nicer to look at.
2018-07-27ci: Speed up the compilation.Justus Winter
- Disable incremental builds, cache cargo and target directory, add some diagnostic output.
2018-07-27ci: Add basic .gitlab-ci.yml file.Azul
- This enables building and testing Sequoia using Gitlab's continuous integration infrastructure.