@@ -63,10 +63,10 @@ jobs:
6363 run : cargo fmt -- --check
6464
6565 - name : Build the Project
66- run : cargo build --all-features --verbose
66+ run : cargo build --workspace -- all-features --verbose
6767
6868 - name : Run Tests
69- run : cargo test --all-features --verbose
69+ run : cargo test --workspace -- all-features --verbose
7070
7171 - name : Generate Documentation (${{ matrix.DOCTYPE }}, ${{ matrix.toolchain }})
7272 run : cargo doc --no-deps --all-features
@@ -108,13 +108,16 @@ jobs:
108108 sudo apt-get update
109109 sudo apt-get install -y clang llvm mingw-w64
110110
111+ - name : Ensure xtask compilable and runable on Linux
112+ run : cargo xtask --version
113+
111114 - name : Set up environment for Windows cross-compilation
112115 shell : bash
113116 run : |
114- var_name =$(echo "${{ matrix.target.triple }}" | tr '-' '_' | tr '[:lower:]' '[:upper:]')
117+ trple =$(echo "${{ matrix.target.triple }}" | tr '-' '_' | tr '[:lower:]' '[:upper:]')
115118 echo "Setting CARGO_TARGET_${var_name}_LINKER=${{ matrix.target.linker }}"
116- echo "CARGO_TARGET_${var_name }_LINKER=${{ matrix.target.linker }}" >> $GITHUB_ENV
117- echo "CARGO_TARGET_${var_name }_AR=${{ matrix.target.ar }}" >> $GITHUB_ENV
119+ echo "CARGO_TARGET_${trple }_LINKER=${{ matrix.target.linker }}" >> $GITHUB_ENV
120+ echo "CARGO_TARGET_${trple }_AR=${{ matrix.target.ar }}" >> $GITHUB_ENV
118121
119122 - name : Build Project for target ${{ matrix.target.triple }}
120123 run : cargo build --target=${{ matrix.target.triple }} --all-features --release
0 commit comments