We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d051728 commit ed8ba5fCopy full SHA for ed8ba5f
1 file changed
.github/workflows/ci.yml
@@ -44,4 +44,18 @@ jobs:
44
45
# Run all tests
46
- run: ROC=./roc_nightly/roc EXAMPLES_DIR=./examples/ ./ci/all_tests.sh
47
+
48
+ - name: Install dependencies for musl build
49
+ run: |
50
+ sudo apt-get install -y musl-tools
51
+ rustup target add x86_64-unknown-linux-musl
52
53
+ - name: Test building with musl target
54
+ run: CARGO_BUILD_TARGET=x86_64-unknown-linux-musl ./roc_nightly/roc build.roc --prebuilt-platform -- --roc ./roc_nightly/roc
55
56
+ - name: Test using musl build
57
58
+ # no need to build platform anymore
59
+ sed -i '/build\.roc\|jump-start\.sh/d' ./ci/all_tests.sh
60
+ ROC=./roc_nightly/roc EXAMPLES_DIR=./examples/ ./ci/all_tests.sh
61
# TODO clippy, rustfmt, roc fmt check
0 commit comments