Skip to content

Commit

Permalink
[skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Dec 2, 2024
1 parent 04be6d6 commit 5db052a
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GH Pages Deploy
name: Cross platform Test

on:
# Allows you to run this workflow manually from the Actions tab
Expand All @@ -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
if: matrix.os == 'windows-latest'
run: dir site

0 comments on commit 5db052a

Please sign in to comment.