From 2168e9583debe2ceb16ad56e1bc8fb812bc0360c Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 10 Jan 2025 08:04:50 +0800 Subject: [PATCH] Updated Windows build CI workflow pipeline. --- .github/workflows/build_ci_windows.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_ci_windows.yml b/.github/workflows/build_ci_windows.yml index 8d0c66a..a3d60b4 100644 --- a/.github/workflows/build_ci_windows.yml +++ b/.github/workflows/build_ci_windows.yml @@ -51,17 +51,20 @@ jobs: - name: Set Environment Path shell: bash run: | + cd n8 echo "N8_PATH=$PWD/dist/n8lang" >> $GITHUB_ENV - name: Build verification shell: bash run: | + cd n8 ./dist/n8lang/bin/n8 ls -R dist - name: Run test scripts shell: bash run: | + cd n8 for test in test/*.n8; do if [[ "$test" != "test/test.n8" ]]; then ./dist/n8lang/bin/n8 "$test" @@ -71,6 +74,7 @@ jobs: - name: Run examples run: | + cd n8 ./dist/n8lang/bin/n8 examples/99-beers.n8 ./dist/n8lang/bin/n8 examples/hello.n8