Skip to content

Commit 584caf7

Browse files
committed
CI: generalize build jobs to multiple platforms
- Add matrix strategy to build, build_wasm, build-tests, and build-tests-webrtc jobs - Support ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, and macos-latest - Add platform-specific dependency installation (apt vs brew) - Update artifact names to include OS identifier to avoid conflicts - Add documentation update reminders for platform matrix changes This enables testing builds across multiple platforms while maintaining the same functionality.
1 parent 07d687c commit 584caf7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ jobs:
116116
make test-p2p
117117
118118
build:
119+
# NOTE: If you add or remove platforms from this matrix, make sure to update
120+
# the documentation at website/docs/developers/getting-started.mdx
119121
strategy:
120122
matrix:
121123
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-latest]
@@ -157,6 +159,8 @@ jobs:
157159
path: target/release/openmina
158160

159161
build_wasm:
162+
# NOTE: If you add or remove platforms from this matrix, make sure to update
163+
# the documentation at website/docs/developers/getting-started.mdx
160164
strategy:
161165
matrix:
162166
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-latest]
@@ -197,6 +201,8 @@ jobs:
197201
make build-wasm
198202
199203
build-tests:
204+
# NOTE: If you add or remove platforms from this matrix, make sure to update
205+
# the documentation at website/docs/developers/getting-started.mdx
200206
strategy:
201207
matrix:
202208
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-latest]
@@ -243,6 +249,8 @@ jobs:
243249
path: target/release/tests
244250

245251
build-tests-webrtc:
252+
# NOTE: If you add or remove platforms from this matrix, make sure to update
253+
# the documentation at website/docs/developers/getting-started.mdx
246254
strategy:
247255
matrix:
248256
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-latest]

website/docs/developers/getting-started.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ development environment and build OpenMina from source.
2222

2323
### System Requirements
2424

25-
- **Operating System**: Ubuntu 20.04+ or Debian 11+ (other Linux distributions
26-
may work but are not officially supported)
25+
- **Operating System**: Officially supported platforms (build tested in CI):
26+
- Ubuntu 22.04 LTS
27+
- Ubuntu 24.04 LTS (x86_64 and ARM64)
28+
- macOS (latest)
29+
- Other Linux distributions may work but are not officially supported
30+
- Note: While we test compilation on all platforms, the full test suite is
31+
only run on ubuntu-latest
2732
- **Memory**: At least 8GB RAM (16GB recommended)
2833
- **Storage**: At least 20GB free space
2934
- **Network**: Stable internet connection for downloading dependencies

0 commit comments

Comments
 (0)