Commit Graph

34 Commits

Author SHA1 Message Date
Vladyslav Nikonov f307203434 ci: pin Swatinem/rust-cache to v2.9.1 for release workflow compliance (#1479)
Updates all `Swatinem/rust-cache` usages from v2.7.3 to v2.9.1 across
CI, fuzz, and release-binaries workflows.
2026-07-28 08:37:39 +00:00
Benoît Cortier 85443601fb ci: friendly release asset names and drift-free install docs (#1439)
Rename prebuilt binary assets to friendly os-arch names (e.g.
ironrdp-agent-<version>-linux-x64.tar.gz), dropping the Rust target
triple from the filename, and make the triple authoritative by passing
--target to cargo so a runner/target mismatch fails loudly instead of
silently mislabeling an asset.

Move the detailed download/verify instructions out of the READMEs and
into the GitHub Release body, generated by the workflow so they can
never drift from the actual assets. The block is injected idempotently
between sentinel markers, so re-running the workflow (the recovery path
for a failed matrix leg) replaces it in place rather than appending. The
READMEs are demoted to short evergreen pointers to the Releases page.

Extract the duplicated native-dependency install steps (Linux ALSA
headers, Windows NASM) into a shared .github/actions/install-build-deps
composite action reused by ci.yml and release-binaries.yml.
2026-07-10 13:35:19 +00:00
Benoît Cortier 131d7d3dc5 ci(xtask): add dependency-invariant guard for ironrdp-session (#1438) 2026-07-10 09:08:11 -04:00
Greg Lamberson d18c51171b ci: add check features matrix gate with dynamic CI fan-out (#1283) 2026-05-19 17:04:33 +09:00
Raphaël Larivière e60500dfd4 ci: bump actions to node 24 compatible versions (#1206) 2026-04-08 10:07:53 +09:00
glamberson 482c5f5a61 ci: run apt-get update before installing devel packages (#1110)
Add `apt-get update` before `apt-get install` in the Linux CI job to
prevent stale apt cache 404 errors

The `ubuntu-latest` runner's package index can reference superseded
package versions (currently `libasound2-dev 1.2.11-1ubuntu0.1`), causing
the install step to fail with a 404.
2026-02-18 21:08:39 +09:00
Raphaël Larivière 2cedc05722 ci(npm): migrate publishing to OIDC authentication (#1026)
Issue: DEVOPS-3952
2025-10-30 08:40:10 -04:00
Benoît CORTIER 8ab98820bd ci(ffi): verify FFI code and examples 2025-03-25 12:26:28 +01:00
Benoît Cortier cd4bf18f6d ci(nuget-publish): fix build error caused by aws-lc (#526) 2024-08-12 07:48:59 -04:00
Benoît Cortier abc0ee0617 ci: fix success job (#494)
GitHub considers skipped jobs as fulfilling requirements when merging
pull requests. We need to ensure that the success job fails if any
previous job has failed.
2024-07-16 07:32:35 -04:00
Benoît Cortier 0c352c4711 chore(deps): update rustls dependency (#492) 2024-07-10 10:11:17 -04:00
Marc-André Lureau 9017c1068d ci: install ALSA header on linux
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-09 21:55:01 -04:00
Benoît Cortier c45b0bd759 ci: aggregate success results into a single job (#483)
This greatly simplifies the terraform configuration, because we only
have to require the "Success" status check. It’s simpler than listing
all the checks in terraform which can be sometimes problematic:

- We need to list all the job names generated using `matrix`
- We need to open a PR in infrastructure-as-code AND to deploy the
  change when we change / add / remove a job

Here, we just list the required jobs directly as dependencies of the
`success` job, without having to modify multiple repositories. Job
dependencies also does not use the job names, but the job "key", so
there is much less things to enumerate. Less error prone overall.
2024-06-26 08:52:36 -04:00
Richard Markiewicz a3ec56d875 ci: update actions versions (#434) 2024-04-03 14:41:03 +00:00
Vladyslav Nikonov 4258f06292 ci: check for typos using typos-cli (#315) 2023-12-01 17:27:36 +00:00
Benoît Cortier e10bf4fc38 ci: check for dirty lock files (#277)
Note that we can’t really use the --locked option of cargo, because to
run xtask, we need to compile it using cargo, and thus the lock files
are already "refreshed" as far as cargo is concerned. Instead, this new
task will check for modifications to the lock files using git-status
porcelain. The side benefit is that we can check for npm lock files too.
2023-11-09 21:53:08 -05:00
Benoît CORTIER f209c9a77b ci(fuzz): minimize corpus only for current target 2023-06-15 15:08:05 -04:00
Benoît Cortier b98443b407 chore: fix xtask for windows (#150) 2023-06-14 22:16:24 +00:00
Benoît CORTIER 5d88531259 ci: optimize speed and cache 2023-05-23 08:31:19 -04:00
Benoît CORTIER 493e8f13a4 ci: add web client check job 2023-05-23 08:31:19 -04:00
Benoît CORTIER 20e6025c6c ci: run fuzz jobs longer and in parallel 2023-05-10 13:58:53 -04:00
Benoît CORTIER fce63eaf57 ci: fix fuzz workflow 2023-05-10 13:58:53 -04:00
Benoît Cortier c81f0f0c0d ci: separate workflow for fuzzing using corpus (#124)
Fetching the corpus in the main CI worflow is a problem because
it will fail when the azure storage is modified during the download:

> ERROR: The specified blob does not exist.
> RequestId:76c40723-901e-0098-38b9-8215c9000000
> Time:2023-05-09T21:03:10.8992962Z
> ErrorCode:BlobNotFound

This occurs when there are multiple runs at the same time. This
happens for example when two pull requests are opened.
This will cause CI to go red for no good reason.

With this patch, main CI will simply run the fuzz targets without
using the corpus, as a sanity check. Then, another workflow will
run at 03:12 AM UTC on Sunday, Monday, and Saturday using the corpus
from azure storage.

Future work: make the scheduled run fuzz longer and in parallel.
2023-05-10 09:25:41 -04:00
Benoît CORTIER 01a10939bd ci: use cargo xtask commands 2023-04-28 18:00:10 -04:00
Benoît Cortier 710a51f24a refactor: re-organize workspace (#101)
- Remove Tauri client.

  It was useful when initially prototyping the Web Component, but now
  it’s more of a maintenance burden. It’s notably not convenient to
  check in CI. Since we now have another native alternative that does
  not require any GPU (`ironrdp-client`), it’s probably a good time to
  part ways.

- Move wasm package into the workspace.

- Move Rust crates into a `crates` subfolder.

- Introduce `xtask` crate for free-form automation.
2023-03-29 19:09:15 -04:00
Benoît Cortier 407cb24121 ci: fix cargo-fuzz installation (#92) 2023-03-10 15:38:45 -05:00
Benoît CORTIER 85b07450ae ci: use azure account storage to store fuzzing corpus 2023-03-10 14:20:30 -05:00
Benoît Cortier c949f5b46c fix(graphics): harden RLE implementation (#86)
Mostly added bound checks in case an invalid RLE-compressed bitmap is
received. Implementation have been fuzzed for a few hours in order to
find blind spots.
2023-03-07 07:01:22 -05:00
Benoît CORTIER 5908f57bcf ci: update ubuntu runner 2023-02-07 15:52:42 -05:00
Benoît CORTIER e01d3263d9 ci: check compilation for wasm module and Tauri app 2023-01-26 22:20:43 -05:00
Benoît CORTIER 2f089c9a8f ci: fix clippy job
`-D warnings` was missing.
2022-04-20 15:55:16 -04:00
Benoît CORTIER fd97d7eaf3 ci: use checkout@v3 2022-04-15 13:39:34 -04:00
Benoît CORTIER 2837d104bf ci: add rustfmt component if necessary 2022-04-15 13:39:34 -04:00
Benoît CORTIER 142cdc07ae ci: migrate to GitHub Actions 2022-04-15 13:39:34 -04:00