Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b61c2c6
Simplify workflows: keep only CI and simple Ubuntu release
leonid-zats Oct 9, 2025
427d701
Add Nix cache clearing to force rebuild with new configuration
leonid-zats Oct 9, 2025
35d04d8
Fix code formatting issues
leonid-zats Oct 9, 2025
7c5edde
Fix cross-compilation issue by removing --all-targets from cargoArtif…
leonid-zats Oct 9, 2025
a426642
Update apollo-mcp.nix
leonid-zats Oct 9, 2025
5597224
Fix duplicate --locked flag in cargo check command
leonid-zats Oct 9, 2025
0da4f8a
Remove coverage job from CI workflow
leonid-zats Oct 9, 2025
d3e8cf0
Remove --all-targets from clippy check to prevent cross-compilation
leonid-zats Oct 9, 2025
90d5ec8
Aggressively override cargoExtraArgs to prevent --all-targets
leonid-zats Oct 9, 2025
de23659
Use default system toolchain to fix stack smashing errors
leonid-zats Oct 9, 2025
c506d0f
Completely override cargo commands to eliminate --all-targets
leonid-zats Oct 9, 2025
2a3d420
Use cargoBuild instead of buildDepsOnly to avoid --all-targets
leonid-zats Oct 9, 2025
ae0cc82
Revert to buildDepsOnly and add environment variables to force native…
leonid-zats Oct 9, 2025
a2d1e27
Install cross-compilation toolchain in GitHub Actions
leonid-zats Oct 9, 2025
51eff72
Override buildDepsOnly to eliminate --all-targets
leonid-zats Oct 9, 2025
62cccc9
Use cargoCheck instead of buildDepsOnly to avoid --all-targets
leonid-zats Oct 9, 2025
da307f0
Remove cargoArtifacts to avoid --all-targets issues
leonid-zats Oct 9, 2025
31bf5b6
Fix cargoArtifacts requirement for cargoClippy
leonid-zats Oct 9, 2025
5bc7150
Use buildDepsOnly with target override to avoid cross-compilation
leonid-zats Oct 9, 2025
098d1e1
Fix duplicate --release argument in cargoCheckExtraArgs
leonid-zats Oct 9, 2025
fa4dd0e
Override cross-compilation linker configuration
leonid-zats Oct 9, 2025
6b5f13a
Replace Nix CI with simple Cargo-based workflow
leonid-zats Oct 12, 2025
5fffec3
Fix clippy error: move test impl inside mod tests
leonid-zats Oct 12, 2025
715bab9
Add macOS support to CI and release workflows
leonid-zats Oct 12, 2025
6a627e2
Remove macOS from CI workflow to reduce costs
leonid-zats Oct 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 0 additions & 137 deletions .github/workflows/build.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/canary-release.yml

This file was deleted.

45 changes: 24 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:
purge-created: 0
purge-primary-key: never
gc-max-store-size: 5G
- name: Save flake attributes from garbage collection
run: nix profile install .#saveFromGC
- name: Install cross-compilation toolchain
run: |
sudo apt-get update
sudo apt-get install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu
- name: Clear Nix cache to force rebuild
run: nix-collect-garbage -d

check:
name: Run checks
Expand All @@ -70,6 +74,12 @@ jobs:
purge-created: 0
purge-primary-key: never
gc-max-store-size: 5G
- name: Install cross-compilation toolchain
run: |
sudo apt-get update
sudo apt-get install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu
- name: Clear Nix cache to force rebuild
run: nix-collect-garbage -d
- name: Run checks
run: nix flake check

Expand All @@ -96,6 +106,12 @@ jobs:
purge-created: 0
purge-primary-key: never
gc-max-store-size: 5G
- name: Install cross-compilation toolchain
run: |
sudo apt-get update
sudo apt-get install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu
- name: Clear Nix cache to force rebuild
run: nix-collect-garbage -d
- name: Build
run: nix build .#

Expand All @@ -122,24 +138,11 @@ jobs:
purge-created: 0
purge-primary-key: never
gc-max-store-size: 5G
- name: Install cross-compilation toolchain
run: |
sudo apt-get update
sudo apt-get install -y gcc-x86-64-linux-gnu g++-x86-64-linux-gnu
- name: Clear Nix cache to force rebuild
run: nix-collect-garbage -d
- name: Run Tests
run: 'nix develop --command bash -c "cargo test"'

coverage:
name: Run Coverage
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --codecov --output-path codecov.json
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: codecov.json
fail_ci_if_error: true
Loading
Loading