Initial commit #1
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: Run unit test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test_linux: | |
name: Test Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install conan | |
run: pip install conan | |
- name: Setup conan | |
run: conan profile detect | |
- name: Build and run unit test | |
run: ./mox.sh test | |
test_windows: | |
name: Test Windows | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install conan | |
run: pip install conan | |
- name: Setup conan | |
run: conan profile detect | |
- name: Build and run unit test | |
run: ./mox.bat test | |