feat: partial transcribed event of task #28
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test (${{ matrix.os }}, Node v${{ matrix.node }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] # windows-latest has a bug with makefile (cc command not found) | |
node: [18, 20] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install distutils | |
run: python -m pip install setuptools | |
- uses: Jimver/[email protected] | |
with: | |
sub-packages: '["nvcc"]' | |
method: network | |
if: matrix.os == 'windows-latest' | |
- name: Add msys64 to PATH | |
run: echo "/c/msys64/mingw64/bin:/c/msys64/usr/bin" >> $GITHUB_PATH | |
if: matrix.os == 'windows-latest' | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
run_install: true | |
- name: Build All | |
run: pnpm makelib && pnpm build | |
- name: Test | |
run: pnpm test |