diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index 9b0c7b1..266a5aa 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -1,4 +1,4 @@ -name: GH Pages Deploy +name: Cross platform Test on: # Allows you to run this workflow manually from the Actions tab @@ -20,23 +20,32 @@ jobs: - name: Checkout ๐Ÿ›Ž uses: actions/checkout@v4 - - name: check formatting ๐Ÿ–Œ๏ธ - run: cargo fmt -- --check - - name: Cache Cargo dependencies ๐Ÿ“ฆ uses: Swatinem/rust-cache@v2 - name: Test ๐Ÿงช + if: matrix.os != 'windows-latest' run: cargo test - name: Build ๐Ÿ”ง run: cargo build --release - name: Add paths ๐Ÿ“‚ + if: matrix.os != 'windows-latest' run: echo "::add-path::$GITHUB_WORKSPACE/target/release" - name: Build site ๐Ÿ—๏ธ + if: matrix.os != 'windows-latest' run: marmite example site -vvvv + - name: Build site ๐Ÿ—๏ธ + if: matrix.os == 'windows-latest' + run: .\target\release\marmite.exe example site -vvvv + + - name: List files on site ๐Ÿ“‚ + if: matrix.os != 'windows-latest' + run: ls -R site + - name: List files on site ๐Ÿ“‚ - run: ls -R site \ No newline at end of file + if: matrix.os == 'windows-latest' + run: dir site \ No newline at end of file