Skip to content

Merge pull request #5 from AndresCdo/dev #12

Merge pull request #5 from AndresCdo/dev

Merge pull request #5 from AndresCdo/dev #12

Workflow file for this run

name: COBOL CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install GNU COBOL
run: sudo apt-get update && sudo apt-get install -y gnucobol4
- name: Compile hello-world.cbl
run: |
cd examples
../tools/cobol-compiler/build-cobol-binary.sh hello-world.cbl
- name: Run hello-world executable
run: |
cd examples
./hello-world