Skip to content

Commit

Permalink
Refactoring / code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Feb 6, 2024
1 parent 403533a commit 8e34f7d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions .act-github/workflows/use-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
python3-setuptools rsync silversearcher-ag strip-nondeterminism valgrind
vim xsltproc
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then sudo rm
-fr ~/gopath ;. fc-solve/scripts/ci-before-install.bash ; fi
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then sudo rm -fr
~/gopath ; . fc-solve/scripts/ci-before-install.bash ; fi
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then sudo rm
-fr ~/gopath ;. fc-solve/scripts/ci-before-install.bash ; fi
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then sudo rm -fr
~/gopath ; . fc-solve/scripts/ci-before-install.bash ; fi
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then . fc-solve/scripts/ci-install-stage.bash
; elif test "$WHAT" = "buildproc"; then . fc-solve/scripts/ci-docker-test--install.bash
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then . fc-solve/scripts/ci-install-stage.bash
; elif test "$WHAT" = "buildproc" ; then . fc-solve/scripts/ci-docker-test--install.bash
; fi
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then export XML_CATALOG_FILES="/etc/xml/catalog
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then export XML_CATALOG_FILES="/etc/xml/catalog
$HOME/markup-validator/htdocs/sgml-lib/catalog.xml" ; bash fc-solve/scripts/run-ci-tests.bash
; elif test "$WHAT" = "buildproc" ; then cd fc-solve/source/ && perl
../scripts/docker-test.pl ; fi
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/use-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
python3-setuptools rsync silversearcher-ag strip-nondeterminism valgrind
vim xsltproc
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then sudo rm
-fr ~/gopath ;. fc-solve/scripts/ci-before-install.bash ; fi
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then sudo rm -fr
~/gopath ; . fc-solve/scripts/ci-before-install.bash ; fi
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then sudo rm
-fr ~/gopath ;. fc-solve/scripts/ci-before-install.bash ; fi
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then sudo rm -fr
~/gopath ; . fc-solve/scripts/ci-before-install.bash ; fi
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then . fc-solve/scripts/ci-install-stage.bash
; elif test "$WHAT" = "buildproc"; then . fc-solve/scripts/ci-docker-test--install.bash
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then . fc-solve/scripts/ci-install-stage.bash
; elif test "$WHAT" = "buildproc" ; then . fc-solve/scripts/ci-docker-test--install.bash
; fi
- run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)";
} ; local_lib_shim ; if test "$WHAT" = "normal"; then export XML_CATALOG_FILES="/etc/xml/catalog
} ; local_lib_shim ; if test "$WHAT" = "normal" ; then export XML_CATALOG_FILES="/etc/xml/catalog
$HOME/markup-validator/htdocs/sgml-lib/catalog.xml" ; bash fc-solve/scripts/run-ci-tests.bash
; elif test "$WHAT" = "buildproc" ; then cd fc-solve/source/ && perl
../scripts/docker-test.pl ; fi
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ language: c
python:
- '3.6'
before_install:
- if test "$WHAT" = "normal"; then sudo rm -fr ~/gopath ;. fc-solve/scripts/ci-before-install.bash ; fi
- if test "$WHAT" = "normal" ; then sudo rm -fr ~/gopath ; . fc-solve/scripts/ci-before-install.bash ; fi
install:
- if test "$WHAT" = "normal"; then sudo rm -fr ~/gopath ;. fc-solve/scripts/ci-before-install.bash ; fi
- if test "$WHAT" = "normal"; then . fc-solve/scripts/ci-install-stage.bash ; elif test "$WHAT" = "buildproc"; then . fc-solve/scripts/ci-docker-test--install.bash ; fi
- if test "$WHAT" = "normal" ; then sudo rm -fr ~/gopath ; . fc-solve/scripts/ci-before-install.bash ; fi
- if test "$WHAT" = "normal" ; then . fc-solve/scripts/ci-install-stage.bash ; elif test "$WHAT" = "buildproc" ; then . fc-solve/scripts/ci-docker-test--install.bash ; fi
perl:
- "5.24"
script:
- if test "$WHAT" = "normal"; then export XML_CATALOG_FILES="/etc/xml/catalog $HOME/markup-validator/htdocs/sgml-lib/catalog.xml" ; bash fc-solve/scripts/run-ci-tests.bash ; elif test "$WHAT" = "buildproc" ; then cd fc-solve/source/ && perl ../scripts/docker-test.pl ; fi
- if test "$WHAT" = "normal" ; then export XML_CATALOG_FILES="/etc/xml/catalog $HOME/markup-validator/htdocs/sgml-lib/catalog.xml" ; bash fc-solve/scripts/run-ci-tests.bash ; elif test "$WHAT" = "buildproc" ; then cd fc-solve/source/ && perl ../scripts/docker-test.pl ; fi
cache:
ccache: true
directories:
Expand Down

0 comments on commit 8e34f7d

Please sign in to comment.