From b1f1015576628324c2df6019f21ac0ca32dea807 Mon Sep 17 00:00:00 2001 From: hustcer Date: Fri, 8 Nov 2024 23:56:37 +0800 Subject: [PATCH] fix: Fix basic workflow for Windows --- .github/workflows/basic.yml | 4 +++- cspell.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 30f2ea2..713fc1d 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -34,13 +34,15 @@ jobs: - name: Run bitonic sorter using Rust interpreter (Sequential) shell: nu {0} + if: matrix.os != 'windows-latest' run: | print $'Rust version: (ansi g)(rustc --version)(ansi reset)' bend run examples/bitonic_sorter.bend -s - name: Run bitonic sorter using C interpreter (Sequential) shell: nu {0} - if: matrix.os != 'windows-latest' + # Run only on non-Windows runners + if: runner.os != 'Windows' run: | print $'Gcc version: (ansi g)(gcc --version)(ansi reset)' bend run-c examples/bitonic_sorter.bend -s diff --git a/cspell.yml b/cspell.yml index 7d9f7dc..774100d 100644 --- a/cspell.yml +++ b/cspell.yml @@ -7,11 +7,13 @@ words: - msvc - esep - rsort +- rustc - ECODE - endfor - dotenv - libtcc - nushell +- bitonic - hustcer - justfile - lefthook