You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/container/README.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,20 +23,29 @@ Instead of using cross-rs, we create our own environment that includes all of th
23
23
24
24
to build it. The build instructions are heavily influenced by the cross-rs project but do not depend on it.
25
25
26
-
You can use any of these containers offline to build samedec. Define the following volumes:
26
+
You can use any of these containers offline to build samedec. See the [`local-ci.sh`](../local-ci.sh) script for a working demonstration that includes:
27
+
28
+
* A single `cargo vendor` download for all dependencies for all platforms
29
+
* Source code linting
30
+
* Documentation completeness checks
31
+
* Multi-platform cross-compiling
32
+
* Multi-platform testing in qemu
33
+
* Artifact generation
34
+
35
+
Or you can run it yourself. The containers require the following volumes:
27
36
28
37
*`/src`: the repository root of a Rust project
29
-
*`/install`: destination for binaries installed with `cargo install`
30
-
*`/src/target` (**optional**): a build directory.
31
-
*`/cargohome` (**optional**): a persistent `$CARGO_HOME` directory
38
+
*`/install` (**optional**): destination for binaries installed with `cargo install`
39
+
*`/src/target` (**optional**): a reusable build directory
40
+
*`/cargo` (**optional**): a persistent `$CARGO_HOME`
0 commit comments