-
Notifications
You must be signed in to change notification settings - Fork 23
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
1 changed file
with
28 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,13 +42,26 @@ jobs: | |
|
||
steps: | ||
|
||
- name: Set git user | ||
run: | | ||
git config --global user.name github-actions | ||
git config --global user.email [email protected] | ||
#- name: Set git user | ||
# run: | | ||
# git config --global user.name github-actions | ||
# git config --global user.email [email protected] | ||
|
||
#- name: Checkout code | ||
# uses: actions/checkout@v4 | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Get CI dist tarball | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: gnucobol-ci source distribution | ||
|
||
- name: Build environment setup | ||
run: | | ||
tar -xvf gnucobol*.tar.* --strip-components=1 | ||
mkdir build | ||
# sed -i 'N;s/else/else :;/g' .\configure | ||
# sed -i 's/\} else \:;/} else/g' .\configure | ||
# sed -i 's/#else \:;/#else/g' .\configure | ||
- name: Setup environment | ||
shell: pwsh | ||
|
@@ -255,18 +268,18 @@ jobs: | |
curl -L https://raw.githubusercontent.com/DaveGamble/cJSON/v%MINGW_CJSON_VERS%/cJSON.h -o .\libcob\cJSON.h | ||
- name: Bootstrap GnuCOBOL | ||
run: | | ||
sed -i 's/AM_PROG_AR/m4_ifdef\(\[AM_PROG_AR\], \[AM_PROG_AR\]\)/g' .\configure.ac | ||
sed -i 's/po extras doc tests/po extras tests/g' .\Makefile.am | ||
bash -lc "./autogen.sh" | ||
# - name: Bootstrap GnuCOBOL | ||
# run: | | ||
# sed -i 's/AM_PROG_AR/m4_ifdef\(\[AM_PROG_AR\], \[AM_PROG_AR\]\)/g' .\configure.ac | ||
# sed -i 's/po extras doc tests/po extras tests/g' .\Makefile.am | ||
# bash -lc "./autogen.sh" | ||
|
||
- name: Configure GnuCOBOL | ||
run: | | ||
mkdir build | ||
sed -i 'N;s/else/else :;/g' .\configure | ||
sed -i 's/\} else \:;/} else/g' .\configure | ||
sed -i 's/#else \:;/#else/g' .\configure | ||
rem mkdir build | ||
rem sed -i 'N;s/else/else :;/g' .\configure | ||
rem sed -i 's/\} else \:;/} else/g' .\configure | ||
rem sed -i 's/#else \:;/#else/g' .\configure | ||
rem extra setting CPPFLAGS as " are wrong here | ||
bash -lc "cd build && ../configure CPPFLAGS=\"-I../libcob\" %CFGOPT% --with-db --with-xml2 --with-json=local --with-curses=pdcurses --prefix=/mingw" | ||
|