Skip to content

feat(ci): test package builds more thoroughly#837

Open
wdconinc wants to merge 69 commits intodevelopfrom
ci-build-test
Open

feat(ci): test package builds more thoroughly#837
wdconinc wants to merge 69 commits intodevelopfrom
ci-build-test

Conversation

@wdconinc
Copy link
Contributor

@wdconinc wdconinc commented Feb 19, 2026

Briefly, what does this PR introduce?

This PR adds a CI build, test, audit, style pipeline. Test environment in environments/eic/spack.yaml, but individual packages are also built.

Todo:

  • missing unsuffixed llvm-config when trying to install mesa

Copilot AI review requested due to automatic review settings February 19, 2026 14:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a comprehensive CI/CD pipeline for the eic-spack repository, adding automated testing, style checking, and auditing capabilities. The implementation creates a test environment specification and two GitHub Actions workflows to ensure code quality and package buildability.

Changes:

  • Adds a new Spack environment configuration for EIC packages with key detector, simulation, and analysis tools
  • Implements a style and audit workflow that automatically checks code style, runs Spack audits, and can create PRs with automated style fixes
  • Implements a build and test workflow that detects changed packages, builds them individually, and tests a complete environment

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
environments/eic/spack.yaml Defines a comprehensive test environment with core EIC packages including epic, eicrecon, dd4hep, and supporting libraries
.github/workflows/style_and_audit.yml Adds automated style checking, audit validation, and PR creation for style fixes
.github/workflows/build_and_test.yml Implements change detection, individual package builds, and full environment testing with buildcache support

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

wdconinc added a commit that referenced this pull request Feb 20, 2026
## 🤖 Automated Style Fixes

This PR applies automated style fixes for #837.

### Changes Applied
- `spack style --fix` formatting
- Ensures compliance with Spack style guidelines

### Original PR
- **Number**: #837
- **Branch**: `ci-build-test`
- **Title**: feat(ci): test package builds more thoroughly

### How to Use
1. Review the changes in this PR
2. If acceptable, merge this PR instead of the original
3. Or, pull these changes into your original branch:
   ```bash
   git fetch origin ci-build-test-style-fix
   git merge origin/ci-build-test-style-fix
   ```

---
*This PR was automatically created by the [style-and-audit
workflow](https://github.com/eic/eic-spack/actions/runs/22231572429).*

Co-authored-by: wdconinc <[email protected]>
Copy link
Contributor

Copilot AI commented Feb 21, 2026

@wdconinc I've opened a new pull request, #843, to work on those changes. Once the pull request is ready, I'll request review from you.

wdconinc added a commit that referenced this pull request Feb 21, 2026
This PR applies automated style fixes for #837.

- `spack style --fix` formatting
- Ensures compliance with Spack style guidelines

- **Number**: #837
- **Branch**: `ci-build-test`
- **Title**: feat(ci): test package builds more thoroughly

1. Review the changes in this PR
2. If acceptable, merge this PR instead of the original
3. Or, pull these changes into your original branch:
   ```bash
   git fetch origin ci-build-test-style-fix
   git merge origin/ci-build-test-style-fix
   ```

---
*This PR was automatically created by the [style-and-audit
workflow](https://github.com/eic/eic-spack/actions/runs/22231572429).*

Co-authored-by: wdconinc <[email protected]>
wdconinc added a commit that referenced this pull request Feb 21, 2026
This PR applies automated style fixes for #837.

- `spack style --fix` formatting
- Ensures compliance with Spack style guidelines

- **Number**: #837
- **Branch**: `ci-build-test`
- **Title**: feat(ci): test package builds more thoroughly

1. Review the changes in this PR
2. If acceptable, merge this PR instead of the original
3. Or, pull these changes into your original branch:
   ```bash
   git fetch origin ci-build-test-style-fix
   git merge origin/ci-build-test-style-fix
   ```

---
*This PR was automatically created by the [style-and-audit
workflow](https://github.com/eic/eic-spack/actions/runs/22231572429).*

Co-authored-by: wdconinc <[email protected]>
wdconinc and others added 29 commits March 5, 2026 11:59
Adds spack configuration files under `config/ci/` to enable the
`develop` buildcache and tune concretization for CI builds.

- **`config/ci/mirrors.yaml`** — registers the develop buildcache
mirror:
  ```yaml
  mirrors:
    develop:
      url: https://binaries.spack.io/develop
      signed: true
  ```
- **`config/ci/concretizer.yaml`** — reuses prebuilt binaries for
dependencies but not roots, avoiding stale root rebuilds while still
benefiting from cached deps:
  ```yaml
  concretizer:
    reuse:
      roots: false
      dependencies: true
  ```

<!-- START COPILOT CODING AGENT TIPS -->
---

🔒 GitHub Advanced Security automatically protects Copilot coding agent
pull requests. You can protect all pull requests by enabling Advanced
Security for your repositories. [Learn more about Advanced
Security.](https://gh.io/cca-advanced-security)

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: wdconinc <[email protected]>
Co-authored-by: Wouter Deconinck <[email protected]>
This PR applies automated style fixes for #837.

- `spack style --fix` formatting
- Ensures compliance with Spack style guidelines

- **Number**: #837
- **Branch**: `ci-build-test`
- **Title**: feat(ci): test package builds more thoroughly

1. Review the changes in this PR
2. If acceptable, merge this PR instead of the original
3. Or, pull these changes into your original branch:
   ```bash
   git fetch origin ci-build-test-style-fix
   git merge origin/ci-build-test-style-fix
   ```

---
*This PR was automatically created by the [style-and-audit
workflow](https://github.com/eic/eic-spack/actions/runs/22280755533).*

Co-authored-by: wdconinc <[email protected]>
This PR applies automated style fixes for #837.

- `spack style --fix` formatting
- Ensures compliance with Spack style guidelines

- **Number**: #837
- **Branch**: `ci-build-test`
- **Title**: feat(ci): test package builds more thoroughly

1. Review the changes in this PR
2. If acceptable, merge this PR instead of the original
3. Or, pull these changes into your original branch:
   ```bash
   git fetch origin ci-build-test-style-fix
   git merge origin/ci-build-test-style-fix
   ```

---
*This PR was automatically created by the [style-and-audit
workflow](https://github.com/eic/eic-spack/actions/runs/22281480108).*

Co-authored-by: wdconinc <[email protected]>
Fix typo in dependency type for 'cxx'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants