File tree Expand file tree Collapse file tree 12 files changed +51
-20
lines changed Expand file tree Collapse file tree 12 files changed +51
-20
lines changed Original file line number Diff line number Diff line change 1+ name : build opensource COBOL 4J using gcc 9
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/setup-java@v3
11+ with :
12+ distribution : ' temurin'
13+ java-version : ' 21'
14+
15+ - name : Install dependencies on Ubuntu 22.04
16+ run : |
17+ sudo apt update -y
18+ sudo apt install -y gcc-9 build-essential gettext autoconf
19+
20+ - name : Checkout opensource COBOL 4J
21+ uses : actions/checkout@v3
22+
23+ - name : Install opensource COBOL 4J
24+ run : |
25+ ./configure --prefix=/usr/ CC=gcc-9
26+ make
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
1313 container :
1414 image : ${{ inputs.os }}
1515 steps :
16- - uses : actions/setup-java@v3
16+ - uses : actions/setup-java@v4
1717 if : inputs.os == 'ubuntu:22.04'
1818 with :
1919 distribution : ' temurin'
2020 java-version : ' 21'
2121
22- - uses : actions/setup-java@v3
22+ - uses : actions/setup-java@v4
2323 if : inputs.os == 'almalinux:9'
2424 with :
2525 distribution : ' temurin'
4444 dnf install -y java-21-amazon-corretto-devel gcc make autoconf diffutils gettext tar gzip
4545
4646 - name : Checkout opensource COBOL 4J
47- uses : actions/checkout@v3
47+ uses : actions/checkout@v4
4848
4949 - name : Install opensource COBOL 4J
5050 run : |
5959 mv opensourcecobol4j.tar.gz opensourcecobol4j
6060
6161 - name : Upload an artifact
62- uses : actions/upload-artifact@v3
62+ uses : actions/upload-artifact@v4
6363 with :
6464 name : opensourcecobol4j-${{ env.ARTIFACT_NAME }}
6565 path : opensourcecobol4j.tar.gz
Original file line number Diff line number Diff line change 77 build :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/setup-java@v3
10+ - uses : actions/setup-java@v4
1111 with :
1212 distribution : ' temurin'
1313 java-version : ' 21'
1414
1515 - name : Checkout opensource COBOL 4J
16- uses : actions/checkout@v3
16+ uses : actions/checkout@v4
1717
1818 - name : Run javadoc
1919 working-directory : libcobj
Original file line number Diff line number Diff line change 1515 cd ../
1616 mv opensourcecobol4j/* .
1717 mv libcobj/* opensourcecobol4j
18- - uses : actions/setup-java@v3
18+ - uses : actions/setup-java@v4
1919 with :
2020 java-version : ' 11'
2121 distribution : ' temurin'
Original file line number Diff line number Diff line change 5050 test-name : ${{ matrix.test_name }}
5151 check-result : false
5252 os : ${{ matrix.os }}
53-
53+
54+ build-gcc9 :
55+ uses : ./.github/workflows/build-gcc9.yml
56+
5457 javadoc :
5558 uses : ./.github/workflows/javadoc.yml
5659
Original file line number Diff line number Diff line change 5050 check-result : false
5151 os : ${{ matrix.os }}
5252
53+ build-gcc9 :
54+ uses : ./.github/workflows/build-gcc9.yml
55+
5356 javadoc :
5457 uses : ./.github/workflows/javadoc.yml
5558
5659 static-analysis :
57- uses : ./.github/workflows/static-analysis.yml
60+ uses : ./.github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change 99 steps :
1010 # Checkout opensource COBOL
1111 - name : Checkout opensource COBOL 4J
12- uses : actions/checkout@v3
12+ uses : actions/checkout@v4
1313
14- - uses : actions/setup-java@v3
14+ - uses : actions/setup-java@v4
1515 with :
1616 distribution : ' temurin'
1717 java-version : ' 11'
Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ jobs:
2828 - name : Get the artifact name
2929 run : echo ARTIFACT_NAME=${{ inputs.os }} | sed 's/:/-/g' >> $GITHUB_ENV
3030
31- - uses : actions/download-artifact@v3
31+ - uses : actions/download-artifact@v4
3232 with :
3333 name : opensourcecobol4j-${{ env.ARTIFACT_NAME }}
3434
3535 - name : Install Java
36- uses : actions/setup-java@v3
36+ uses : actions/setup-java@v4
3737 if : inputs.os != 'amazonlinux:2023'
3838 with :
3939 distribution : ' temurin'
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
2121 - name : Get the artifact name
2222 run : echo ARTIFACT_NAME=${{ inputs.os }} | sed 's/:/-/g' >> $GITHUB_ENV
2323
24- - uses : actions/download-artifact@v3
24+ - uses : actions/download-artifact@v4
2525 with :
2626 name : opensourcecobol4j-${{ env.ARTIFACT_NAME }}
2727
28- - uses : actions/setup-java@v3
28+ - uses : actions/setup-java@v4
2929 if : inputs.os != 'amazonlinux:2023'
3030 with :
3131 distribution : ' temurin'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2727* Add built-in subroutines
2828 * ` C$CALLEDBY ` (#262 )
2929 * ` C$LIST-DIRECTORY ` (#264 )
30- * Implement ` NUMBER-OF-PARAMETERS ` (#270 )
30+ * Implement ` NUMBER-OF-CALL- PARAMETERS ` (#270 )
3131### Fixed
3232* Fix the message of COB_VERBOSE file sort (#260 )
3333* Fix the process that checks MOVE statements (#266 , #267 )
You can’t perform that action at this time.
0 commit comments