From 61801680e2b3dbcd8357121cb03533dbaffad69b Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Sat, 30 Nov 2024 11:33:55 +0800 Subject: [PATCH] Updated binary path for workflow pipelines. --- .github/workflows/build_ci_darwin.yml | 30 +++++++++++++------------- .github/workflows/build_ci_linux.yml | 30 +++++++++++++------------- .github/workflows/build_ci_windows.yml | 30 +++++++++++++------------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/build_ci_darwin.yml b/.github/workflows/build_ci_darwin.yml index 93e380b..8fb5043 100644 --- a/.github/workflows/build_ci_darwin.yml +++ b/.github/workflows/build_ci_darwin.yml @@ -42,29 +42,29 @@ jobs: - name: Build verification run: | - ./dist/n8 + ./dist/n8lang/bin/n8 ls -ral dist find dist | sort | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" - name: Run test scripts run: | - ./dist/n8 ./test/arithmetic.n8 - ./dist/n8 ./test/array.n8 - ./dist/n8 ./test/digits.n8 - ./dist/n8 ./test/error_handling.n8 - ./dist/n8 ./test/flow.n8 - ./dist/n8 ./test/func.n8 - ./dist/n8 ./test/loop.n8 - ./dist/n8 ./test/native.n8 - ./dist/n8 ./test/parallel.n8 - ./dist/n8 ./test/regex.n8 - ./dist/n8 ./test/test.n8 - ./dist/n8 ./test/types.n8 + ./dist/n8lang/bin/n8 ./test/arithmetic.n8 + ./dist/n8lang/bin/n8 ./test/array.n8 + ./dist/n8lang/bin/n8 ./test/digits.n8 + ./dist/n8lang/bin/n8 ./test/error_handling.n8 + ./dist/n8lang/bin/n8 ./test/flow.n8 + ./dist/n8lang/bin/n8 ./test/func.n8 + ./dist/n8lang/bin/n8 ./test/loop.n8 + ./dist/n8lang/bin/n8 ./test/native.n8 + ./dist/n8lang/bin/n8 ./test/parallel.n8 + ./dist/n8lang/bin/n8 ./test/regex.n8 + ./dist/n8lang/bin/n8 ./test/test.n8 + ./dist/n8lang/bin/n8 ./test/types.n8 - name: Run examples run: | - ./dist/n8 ./examples/hello.n8 - ./dist/n8 ./examples/99-beers.n8 + ./dist/n8lang/bin/n8 ./examples/hello.n8 + ./dist/n8lang/bin/n8 ./examples/99-beers.n8 - name: Upload dist folder uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build_ci_linux.yml b/.github/workflows/build_ci_linux.yml index 2ed89f0..1a77df7 100644 --- a/.github/workflows/build_ci_linux.yml +++ b/.github/workflows/build_ci_linux.yml @@ -42,32 +42,32 @@ jobs: - name: Build verification run: | - ./dist/n8 + ./dist/n8lang/bin/n8 ls dist -ral find dist | sort | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" - name: Run test scripts run: | start=$(date +%s%3N) - ./dist/n8 ./test/arithmetic.n8 - ./dist/n8 ./test/array.n8 - ./dist/n8 ./test/digits.n8 - ./dist/n8 ./test/error_handling.n8 - ./dist/n8 ./test/flow.n8 - ./dist/n8 ./test/func.n8 - ./dist/n8 ./test/loop.n8 - ./dist/n8 ./test/native.n8 - ./dist/n8 ./test/parallel.n8 - ./dist/n8 ./test/regex.n8 - ./dist/n8 ./test/test.n8 - ./dist/n8 ./test/types.n8 + ./dist/n8lang/bin/n8 ./test/arithmetic.n8 + ./dist/n8lang/bin/n8 ./test/array.n8 + ./dist/n8lang/bin/n8 ./test/digits.n8 + ./dist/n8lang/bin/n8 ./test/error_handling.n8 + ./dist/n8lang/bin/n8 ./test/flow.n8 + ./dist/n8lang/bin/n8 ./test/func.n8 + ./dist/n8lang/bin/n8 ./test/loop.n8 + ./dist/n8lang/bin/n8 ./test/native.n8 + ./dist/n8lang/bin/n8 ./test/parallel.n8 + ./dist/n8lang/bin/n8 ./test/regex.n8 + ./dist/n8lang/bin/n8 ./test/test.n8 + ./dist/n8lang/bin/n8 ./test/types.n8 end=$(date +%s%3N) echo "Elapsed time: $((end - start)) ms" - name: Run examples run: | - /usr/bin/time -v ./dist/n8 ./examples/hello.n8 - /usr/bin/time -v ./dist/n8 ./examples/99-beers.n8 + /usr/bin/time -v ./dist/n8lang/bin/n8 ./examples/hello.n8 + /usr/bin/time -v ./dist/n8lang/bin/n8 ./examples/99-beers.n8 - name: Upload dist folder uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build_ci_windows.yml b/.github/workflows/build_ci_windows.yml index 137ead3..eb16c65 100644 --- a/.github/workflows/build_ci_windows.yml +++ b/.github/workflows/build_ci_windows.yml @@ -39,29 +39,29 @@ jobs: - name: Build verification run: | - dist\n8 + dist\n8lang\bin\n8 dir dist tree dist - name: Run test scripts run: | - dist\n8 test\arithmetic.n8 - dist\n8 test\array.n8 - dist\n8 test\digits.n8 - dist\n8 test\error_handling.n8 - dist\n8 test\flow.n8 - dist\n8 test\func.n8 - dist\n8 test\loop.n8 - dist\n8 test\native.n8 - dist\n8 test\parallel.n8 - dist\n8 test\regex.n8 - dist\n8 test\test.n8 - dist\n8 test\types.n8 + dist\n8lang\bin\n8 test\arithmetic.n8 + dist\n8lang\bin\n8 test\array.n8 + dist\n8lang\bin\n8 test\digits.n8 + dist\n8lang\bin\n8 test\error_handling.n8 + dist\n8lang\bin\n8 test\flow.n8 + dist\n8lang\bin\n8 test\func.n8 + dist\n8lang\bin\n8 test\loop.n8 + dist\n8lang\bin\n8 test\native.n8 + dist\n8lang\bin\n8 test\parallel.n8 + dist\n8lang\bin\n8 test\regex.n8 + dist\n8lang\bin\n8 test\test.n8 + dist\n8lang\bin\n8 test\types.n8 - name: Run examples run: | - dist\n8 examples\99-beers.n8 - dist\n8 examples\hello.n8 + dist\n8lang\bin\n8 examples\99-beers.n8 + dist\n8lang\bin\n8 examples\hello.n8 - name: Upload dist folder uses: actions/upload-artifact@v4