Browse Source

cranelift: Test all features on Windows, too

Signed-off-by: Afonso Bordado <afonsobordado@az8.co>
Afonso Bordado 1 year ago
parent
commit
26d77cd5af
2 changed files with 5 additions and 1 deletions
  1. 1 1
      .github/workflows/test.yaml
  2. 4 0
      mk/appveyor.bat

+ 1 - 1
.github/workflows/test.yaml

@@ -75,7 +75,7 @@ jobs:
 
       - name: Build plug-in
         run: |
-          cargo build --release --example rbpf_plugin
+          cargo build --all-features --release --example rbpf_plugin
 
       - name: Run BPF conformance tests - Interpreter
         run: |

+ 4 - 0
mk/appveyor.bat

@@ -64,5 +64,9 @@ if %ERRORLEVEL% NEQ 0 exit 1
 
 REM Verify that `cargo build`, independent from `cargo test`, works; i.e.
 REM verify that non-test builds aren't trying to use test-only features.
+cargo build -vv %CARGO_MODE%
+if %ERRORLEVEL% NEQ 0 exit 1
+
+REM Verify that we can build with all features
 cargo build --all-features -vv %CARGO_MODE%
 if %ERRORLEVEL% NEQ 0 exit 1