Skip to content

CI: build natively on Ubuntu and inside the devcontainer on arm64 - #9

Merged
manumerous merged 2 commits into
mainfrom
ci-native-and-devcontainer
Sep 27, 2026
Merged

manumerous merged 2 commits into
mainfrom
ci-native-and-devcontainer

Conversation

@manumerous

Copy link
Copy Markdown
Owner

Split CI into two jobs so both supported environments are always built and tested:

  • native-ubuntu: builds and tests directly on the ubuntu-24.04 (x86_64) runner host, no container.
  • devcontainer-arm64: builds the .devcontainer image and runs the build and tests inside it via the devcontainer CLI on ubuntu-24.04-arm. This is the same linux/arm64 container Docker Desktop/Colima runs on Apple Silicon; hosted macOS runners can't run Docker, so this is how the Mac devcontainer path is covered.

The devcontainer job keeps devcontainer.json's named cache volume as-is and seeds/exports it from the Actions cache as a tarball.

manumerous and others added 2 commits September 27, 2026 10:50
Split CI into two jobs so both supported environments are always built
and tested:

- native-ubuntu: builds and tests directly on the ubuntu-24.04 (x86_64)
  runner host, no container.
- devcontainer-arm64: builds the .devcontainer image and runs the build
  and tests inside it via the devcontainer CLI on ubuntu-24.04-arm. This
  is the same linux/arm64 container Docker Desktop/Colima runs on Apple
  Silicon; hosted macOS runners can't run Docker, so this is how the Mac
  devcontainer path is covered.

The devcontainer job keeps devcontainer.json's named cache volume as-is
and seeds/exports it from the Actions cache as a tarball.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The off-diagonal loop compared rows[j] == row_i without checking
j < nnzJacobian_, so for the last non-zero it read one element past the
end of the sparsity arrays. On x86_64 the garbage value happened to
differ from row_i; on aarch64 it matched, and the following cols[j]
index tripped Eigen's bounds assert in ocs2_core_cppadcg
(CppAdInterfaceNoParameterFixture.testModelGeneration).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manumerous
manumerous merged commit 40617cc into main Sep 27, 2026
2 checks passed
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.

1 participant