Skip to content

Commit

Permalink
ci: fix substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Oct 13, 2022
1 parent dd3407c commit 3080025
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ jobs:
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/(NPART.*)1/${1}4/g' etc/sphinx_train.cfg
perl -i -pe 's/(QUEUE_TYPE.*Queue)/${1}::POSIX/g' etc/sphinx_train.cfg
perl -i -pe 's/(NPART.*)1/${1}4/' etc/sphinx_train.cfg
perl -i -pe 's/(QUEUE_TYPE.*Queue)/${1}::POSIX/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/((?:FORCEDALIGN|FALIGN).*)no/${1}yes/g' etc/sphinx_train.cfg
perl -i -pe 's/((?:FORCEDALIGN|FALIGN).*)no/${1}yes/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down Expand Up @@ -198,9 +198,9 @@ jobs:
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/((?:G2P|LDA|VTLN).*)no/${1}yes/g' etc/sphinx_train.cfg
perl -i -pe 's/(VTLN_START.*)0\.80/${1}0.95/g' etc/sphinx_train.cfg
perl -i -pe 's/(VTLN_END.*)1\.40/${1}1.05/g' etc/sphinx_train.cfg
perl -i -pe 's/((?:G2P|LDA|VTLN).*)no/${1}yes/' etc/sphinx_train.cfg
perl -i -pe 's/(VTLN_START.*)0\.80/${1}0.95/' etc/sphinx_train.cfg
perl -i -pe 's/(VTLN_END.*)1\.40/${1}1.05/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down Expand Up @@ -234,8 +234,8 @@ jobs:
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
perl -i -pe 's/#(\$CFG_HMM_TYPE.*semi)/$1/' etc/sphinx_train.cfg
perl -i -pe 's/^(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
perl -i -pe 's/^#(\$CFG_HMM_TYPE.*semi)/$1/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down Expand Up @@ -269,8 +269,8 @@ jobs:
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
perl -i -pe 's/#(\$CFG_HMM_TYPE.*ptm)/$1/' etc/sphinx_train.cfg
perl -i -pe 's/^(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
perl -i -pe 's/^#(\$CFG_HMM_TYPE.*ptm)/$1/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down

0 comments on commit 3080025

Please sign in to comment.