forked from espnet/espnet
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (47 loc) · 1.34 KB
/
ci_on_debian11.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: ci on debian11
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
unit_test_espnet1_and_espnet2_on_debian11:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
container:
image: debian:11
env:
ESPNET_PYTHON_VERSION: "3.10"
TH_VERSION: 1.13.1
CHAINER_VERSION: 6.0.0
USE_CONDA: true
# To avoid UnicodeEncodeError for python<=3.6
LC_ALL: en_US.UTF-8
steps:
- uses: actions/checkout@master
- name: check OS
run: cat /etc/os-release
- name: install dependencies
run: |
apt-get update -qq
# NOTE(kamo): cmake sndfile will be download using anacond:
apt-get install -qq -y \
build-essential git unzip bzip2 wget curl bc locales make sox \
libncurses5-dev automake libtool pkg-config
localedef -f UTF-8 -i en_US en_US
- name: Get PR labels
id: pr-labels
uses: joerick/[email protected]
- name: install espnet
run: ./ci/install.sh
- name: test shell
run: |
./ci/test_shell_espnet1.sh
./ci/test_shell_espnet2.sh
- name: test python
run: |
./ci/test_python_espnet1.sh
./ci/test_python_espnet2.sh
./ci/test_python_espnetez.sh