Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,27 @@ jobs:

- uses: actions/checkout@v4

# Cache the directory 'opensource-cobol-1.5.2J/vbisam'
# Cache the directory 'vbisam'
- name: Cache vbisam
id: vbisam_cache_id
uses: actions/cache@v4
with:
path: opensource-cobol/vbisam
path: vbisam-osscons-patch-2.0patch1
key: vbisam-${{ matrix.os }}-key

# Download vbisam and Build it
- name: Download vbisam and Build it
if: steps.vbisam_cache_id.outputs.cache-hit != 'true'
run: |
curl -L -o opensource-cobol-1.5.2J.tar.gz https://github.com/opensourcecobol/opensource-cobol/archive/refs/tags/v1.5.2J.tar.gz
tar zxf opensource-cobol-1.5.2J.tar.gz
cd opensource-cobol-1.5.2J/vbisam
curl -L -o vbisam-osscons-patch-2.0patch1.tar.gz https://github.com/opensourcecobol/vbisam-osscons-patch/archive/refs/tags/v2.0patch1.tar.gz
tar zxf vbisam-osscons-patch-2.0patch1.tar.gz
cd vbisam-osscons-patch-2.0patch1
./configure --prefix=/usr/
make

# Install vbisam
- name: Install vbisam
working-directory: opensource-cobol-1.5.2J/vbisam
working-directory: vbisam-osscons-patch-2.0patch1
run: |
make install

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:

- name: Download vbisam
run: |
if [ ! -d vbisam ]; then \
git clone https://github.com/opensourcecobol/opensource-cobol; \
mv opensource-cobol/vbisam .; \
rm -rf opensource-cobol; \
if [ ! -d vbisam-osscons-patch ]; then \
git clone https://github.com/opensourcecobol/vbisam-osscons-patch.git; \
fi

- name: Install vbisam
working-directory: vbisam
working-directory: vbisam-osscons-patch
run: |
./configure --prefix=/usr/
make
Expand Down