Skip to content

Commit

Permalink
Temporarily disable test-capi-tiny on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Aug 18, 2021
1 parent 170b4aa commit 6fea805
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ jobs:
packages: |
sphinx
sphinx-rtd-theme
- name: Install LLVM tooling
run: sudo apt-get install clang lld
- name: Install Diplomat
uses: actions-rs/cargo@v1.0.1
Expand Down
15 changes: 15 additions & 0 deletions ffi/capi/examples/fixeddecimal_tiny/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Tiny FixedDecimal FFI Demo

This example contains tooling to build a size-optimized binary using FixedDecimal and FixedDecimalFormat in C over FFI.

Prerequisites: `clang` and `lld`, which must be compatible with the Rust toolchain. `apt-get install clang lld` *might* work, but if you run into errors, refer to the following thread for tips:

https://github.com/rust-lang/rust/issues/60059

You also need to install the correct toolchains:

```bash
$ rustup install nightly-2021-02-28
$ rustup component add --toolchain nightly-2021-02-28 rust-src
$ rustup target add x86_64-unknown-linux-gnu --toolchain nightly-2021-02-28
```
3 changes: 2 additions & 1 deletion tools/scripts/ffi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ category = "ICU4X Development"
dependencies = [
"verify-diplomat-gen",
"test-capi",
"test-capi-tiny",
# TODO(#964): Enable this CI test.
# "test-capi-tiny",
"test-cpp",
"build-wearos-ffi",
"test-nostd",
Expand Down

0 comments on commit 6fea805

Please sign in to comment.