Răsfoiți Sursa

Add i586 to CI

Josh Stone 5 ani în urmă
părinte
comite
b8906eff1b
1 a modificat fișierele cu 12 adăugiri și 0 ștergeri
  1. 12 0
      .travis.yml

+ 12 - 0
.travis.yml

@@ -14,6 +14,18 @@ script:
   - ./ci/test_full.sh
 matrix:
   include:
+    # i586 presents floating point challenges for lack of SSE/SSE2
+    - name: "i586"
+      rust: stable
+      env: TARGET=i586-unknown-linux-gnu
+      addons:
+        apt:
+          packages:
+            - gcc-multilib
+      before_script:
+        - rustup target add $TARGET
+      script:
+        - cargo test --verbose --target $TARGET --all-features
     # try a target that doesn't have std at all
     - name: "no_std"
       rust: stable