Skip to content

Commit

Permalink
Updated Windows build CI workflow pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Jan 9, 2025
1 parent c54d8bf commit aa33329
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/build_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,35 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Build N8
run: |
where g++
python -m pip install --upgrade pip
python -m pip install requests py-cpuinfo
python build.py
- name: Set Environment Path
shell: bash
run: |
set N8_PATH=%cd%\dist\n8lang
echo "N8_PATH=$PWD/dist/n8lang" >> $GITHUB_ENV
- name: Build verification
shell: bash
run: |
dist\n8lang\bin\n8
dir dist
tree dist
./dist/n8lang/bin/n8
ls -R dist
- name: Run test scripts
shell: bash
run: |
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\lock.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
for test in test/*.n8; do
if [[ "$test" != "test/test.n8" ]]; then
./dist/n8lang/bin/n8 "$test"
fi
done
dist\n8lang\bin\n8 test\test.n8 -t
dist\n8lang\bin\n8 test\types.n8
- name: Run examples
run: |
Expand Down

0 comments on commit aa33329

Please sign in to comment.