Fix: type to format mapping only accepts exact match #197
Workflow file for this run
This file contains hidden or 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: bitproto benchmark | |
| env: | |
| TZ: Asia/Shanghai | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, macos-latest] | |
| python: ["3.11"] | |
| go: ["1.19"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - uses: actions/checkout@v2 | |
| - name: Set up Golang ${{ matrix.go }} | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Install bitproto compiler | |
| run: | | |
| pip install -e ./compiler | |
| - name: Install bitproto python lib | |
| run: | | |
| pip install -e ./lib/py | |
| - name: Run benchmark | |
| run: | | |
| make bench |