Skip to content

Commit

Permalink
Updated binary path for workflow pipelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Nov 30, 2024
1 parent 23b20a2 commit 6180168
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 45 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build_ci_darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/build_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/build_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6180168

Please sign in to comment.