Ignoring C-explicit user-defined types on C++ error messages on clang… #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CI [Windows] | |
on: | |
push: | |
paths: | |
- .github/workflows/** | |
- assets/** | |
- examples/** | |
- lib/** | |
- include/** | |
- src/** | |
- test/** | |
- build.py | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Python 3.12 Installation | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Build Zhivo | |
run: | | |
python -m pip install requests py-cpuinfo | |
python build.py | |
- name: Build verification | |
run: | | |
dir dist | |
tree dist | |
- name: Run test scripts | |
run: | | |
dist\zhivo test\arithmetic.zhv | |
dist\zhivo test\array.zhv | |
dist\zhivo test\digits.zhv | |
dist\zhivo test\error_handling.zhv | |
dist\zhivo test\flow.zhv | |
dist\zhivo test\func.zhv | |
dist\zhivo test\loop.zhv | |
dist\zhivo test\parallel.zhv | |
dist\zhivo test\regex.zhv | |
dist\zhivo test\test.zhv | |
dist\zhivo test\types.zhv | |
- name: Run examples | |
run: | | |
dist\zhivo examples\99-beers.zhv | |
dist\zhivo examples\hello.zhv | |
- name: Upload dist folder | |
uses: actions/upload-artifact@v4 | |
with: | |
name: zhivo-windows-dist | |
path: dist/ |