Merge pull request #5504 from tjysdsg/fix_s2st_hf_upload #2
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: ci on macos | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check_installable_on_macos: | |
runs-on: macOS-latest | |
if: github.event.pull_request.draft == false | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
pytorch-version: [2.0.1] | |
use-conda: [true, false] | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: 'x64' | |
- name: Get PR labels | |
id: pr-labels | |
uses: joerick/[email protected] | |
- name: install espnet | |
env: | |
ESPNET_PYTHON_VERSION: ${{ matrix.python-version }} | |
TH_VERSION: ${{ matrix.pytorch-version }} | |
CHAINER_VERSION: 6.0.0 | |
USE_CONDA: ${{ matrix.use-conda }} | |
# FIXME(kamo): clang is used by default, but I don't know how to use "-fopenmp" with clang | |
WITH_OMP: OFF | |
# NOTE(kamo): If it's hard to build with clang, please consider using gcc | |
# However, I couldn't build pysptk with gcc on MacOS | |
# CC: /usr/local/bin/gcc-11 | |
# CXX: /usr/local/bin/g++-11 | |
run: | | |
./ci/install.sh |