-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
1,169 additions
and
801 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
image: gitpod/workspace-c | ||
|
||
tasks: | ||
|
||
- name: setup coding environment on Ubuntu 20.04 | ||
before: | | ||
# note: sadly we need this to be done every time as only /workspace is kept, but linked | ||
# against those dependencies; and also we do want to recompile after adjustments | ||
# this can all be dropped as soon as we would use a prepared docker | ||
sudo apt update && sudo apt upgrade -y | ||
sudo apt install -y build-essential libgmp-dev libdb-dev libjson-c-dev ncurses-dev libxml2-dev \ | ||
automake libtool flex bison help2man texinfo \ | ||
lcov | ||
# sudo apt install gettext texlive-base # for make dist (po/*, doc/gnucobol.pdf) | ||
gp sync-done system-prepare | ||
- name: building GnuCOBOL | ||
init: | | ||
mkdir -p $GITPOD_REPO_ROOTS/_build | ||
cd $GITPOD_REPO_ROOTS/_build | ||
gp sync-await system-prepare | ||
../autogen.sh | ||
../configure --enable-cobc-internal-checks --enable-debug --enable-code-coverage | ||
make --jobs=$(nproc) | ||
command: | | ||
cd $GITPOD_REPO_ROOTS/_build | ||
gp sync-done build-finish | ||
- name: running GnuCOBOL tests with coverage | ||
command: | | ||
gp sync-await build-finish | ||
cd $GITPOD_REPO_ROOTS/_build | ||
half_jobs=$(( $(nproc) / 2 )) | ||
nice make --jobs=${half_jobs} check-code-coverage TESTSUITEFLAGS="--jobs=${half_jobs}" | ||
- name: running NIST85 tests | ||
command: | | ||
gp sync-await build-finish | ||
cd $GITPOD_REPO_ROOTS/_build | ||
half_jobs=$(( $(nproc) / 2 )) | ||
nice make -C tests/cobol85 --jobs=${half_jobs} test | ||
# disabled as the download takes too long | ||
#- name: running GnuCOBOL distribution tests with testuite | ||
# command: | | ||
# gp sync-await build-finish | ||
# cd $GITPOD_REPO_ROOTS/_build | ||
# half_jobs=$(( $(nproc) / 2 )) | ||
# nice make --jobs=${half_jobs} distcheck TESTSUITEFLAGS="--jobs=${half_jobs}" | ||
|
||
vscode: | ||
extensions: | ||
- llvm-vs-code-extensions.vscode-clangd | ||
- maelvalais.autoconf | ||
- Dizy.lex-flex-yacc-bison | ||
- ryanluker.vscode-coverage-gutters | ||
- tenninebt.vscode-koverage | ||
- meronz.manpages | ||
- webfreak.debug |
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
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
Empty file.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.