Project

General

Profile

Actions

Task #3905

closed

Task #3862: qa: CI improvements

GitHub CI: use sccache for commits build

Added by Victor Julien about 1 year ago. Updated 1 day ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

A job with a relatively large number of commits (>10) will spend a long time on the commits build. This can possibly run faster by using sccache. Installing sccache itself takes time, at least from source, so perhaps we could use a prebuild version.

https://github.com/mozilla/sccache/releases

Actions #1

Updated by Victor Julien about 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Jason Ish
  • Priority changed from Normal to Low
  • Target version set to 7.0rc1
Actions #2

Updated by Victor Julien 18 days ago

  • Target version changed from 7.0rc1 to 8.0beta1
Actions #3

Updated by Jason Ish 2 days ago

  • Status changed from Assigned to Closed
  • Target version changed from 8.0beta1 to 7.0rc1

This is actually done, https://github.com/OISF/suricata/commit/858ab077752478ec0df2e6312353f36860a47c52, and in master now.

We can see its actually used if you open the sccache stats in a GitHub CI build: https://github.com/OISF/suricata/runs/3575433709?check_suite_focus=true#step:13:1

Actions #4

Updated by Victor Julien 1 day ago

If I'm not mistaken we use it only for the Rust code? I should be able to cache C compiler as well. In large PRs this might help a lot as well.

Actions

Also available in: Atom PDF