mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-10 18:51:08 +00:00
082cfb51a9
Bumps [awalsh128/cache-apt-pkgs-action](https://github.com/awalsh128/cache-apt-pkgs-action) from 1.1.2 to 1.1.3. - [Release notes](https://github.com/awalsh128/cache-apt-pkgs-action/releases) - [Commits](https://github.com/awalsh128/cache-apt-pkgs-action/compare/v1.1.2...v1.1.3) --- updated-dependencies: - dependency-name: awalsh128/cache-apt-pkgs-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
---
|
|
name: CI
|
|
on: # yamllint disable-line rule:truthy
|
|
push:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
python-version: ["3.8", "3.9", "3.10"]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Get tags
|
|
run: git fetch --tags origin -f
|
|
|
|
- uses: awalsh128/cache-apt-pkgs-action@v1.1.3
|
|
if: runner.os == 'Linux'
|
|
with:
|
|
packages: portaudio19-dev
|
|
version: 1.0
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install Poetry Action
|
|
uses: snok/install-poetry@v1.3.3
|
|
with:
|
|
virtualenvs-create: true
|
|
virtualenvs-in-project: true
|
|
|
|
- name: Load cached venv
|
|
id: cached-poetry-dependencies
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: .venv
|
|
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/package-lock.json') }}-2
|
|
|
|
- run: pip install poetry
|
|
- run: poetry install
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16'
|
|
cache: npm
|
|
- run: npm install
|
|
- run: poetry run make -j $(nproc)
|