Skip to content

CMake reactivated

CMake reactivated #20

Workflow file for this run

name: Testing TK4-, TK5, MVS/CE
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tk4-test:
name: Testing tk4-
runs-on: [ubuntu-latest]
container: mainframed767/brexx
steps:
- name: Run tk4-
working-directory: /
run: /run.sh /tk4-/
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- name: Wait for tk4-
working-directory: /
run: /home/hercules/loaded.sh
shell: bash
- name: Make
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK4-
shell: bash
- name: Make Install
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK4- install
shell: bash
- name: Test
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK4- test
shell: bash
mvsce-test:
name: Testing MVS/CE
runs-on: [ubuntu-latest]
container: mainframed767/brexx
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- name: Make
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=MVSCE
shell: bash
- name: Make Install
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=MVSCE install
shell: bash
- name: Test
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=MVSCE test
shell: bash
tk5-test:
name: Testing tk5
runs-on: [ubuntu-latest]
container: mainframed767/brexx
steps:
- name: Run tk5
working-directory: /
run: /run.sh /mvs-tk5/
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- name: Wait for tk5
working-directory: /
run: /home/hercules/loaded.sh
shell: bash
- name: Make
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK5
shell: bash
- name: Make Install
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK5 install
shell: bash
- name: Test
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK5 test
shell: bash
build-release:
name: Brexx/370 Build Release Files
runs-on: [ubuntu-latest]
needs: [mvsce-test, tk4-test, tk5-test]
container: mainframed767/brexx
steps:
- name: Run tk5
working-directory: /
run: /run.sh /mvs-tk5/
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- name: Wait for tk5
working-directory: /
run: /home/hercules/loaded.sh
shell: bash
- name: Make
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK5
shell: bash
- name: Make Release
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK5 release
shell: bash
- name: Transfer Artifacts
uses: actions/upload-artifact@v4
with:
name: BREXX_ZIP_FILES
path: |
/brexx370/build/BREXX.*.ZIP
/brexx370/build/README.txt
test-release-tk5:
name: Test TK5 Release ZIP File
runs-on: [ubuntu-latest]
needs: [build-release]
container: mainframed767/brexx
steps:
- name: Run tk5
working-directory: /
run: /run.sh /mvs-tk5/
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- uses: actions/download-artifact@v4
with:
path: /brexx370/build/
name: BREXX_ZIP_FILES
- name: Extract files
working-directory: /brexx370/build/
run: unzip -o \*.ZIP
shell: bash
- name: Wait for tk5
working-directory: /
run: /home/hercules/loaded.sh
shell: bash
- name: Test Release
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK5 release_test
shell: bash
test-release-tk4-:
name: Test TK4- Release ZIP File
runs-on: [ubuntu-latest]
needs: [build-release]
container: mainframed767/brexx
steps:
- name: Run tk4-
working-directory: /
run: /run.sh /tk4-/
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- name: Copy Zip Files
uses: actions/download-artifact@v4
with:
path: /brexx370/build/
name: BREXX_ZIP_FILES
- name: Extract Zip files
working-directory: /brexx370/build/
run: unzip -o \*.ZIP
shell: bash
- name: Wait for tk4-
working-directory: /
run: /home/hercules/loaded.sh
shell: bash
- name: Test Release
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=TK4- release_test
shell: bash
test-release-mvsce:
name: Test MVS/CE Release ZIP File
runs-on: [ubuntu-latest]
needs: [build-release]
container: mainframed767/brexx
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Move Brexx
run: |
mkdir -p /brexx370/
mv * /brexx370/
shell: bash
- name: Copy Zip Files
uses: actions/download-artifact@v4
with:
path: /brexx370/build/
name: BREXX_ZIP_FILES
- name: Extract Zip files
working-directory: /brexx370/build/
run: unzip -o \*.ZIP
shell: bash
- name: Test Release
working-directory: /brexx370/
env:
WINEPREFIX: /tmp/
run: make SYSTEM=MVSCE release_test
shell: bash
upload-prerelease:
name: Brexx/370 Pre-release
runs-on: [ubuntu-latest]
needs: [test-release-mvsce,test-release-tk5,test-release-tk4-]
steps:
- uses: actions/download-artifact@v4
with:
name: BREXX_ZIP_FILES
- name: Github Pre-release
uses: softprops/action-gh-release@v2
with:
tag_name: "Pre-release"
prerelease: true
body_path: README.txt
generate_release_notes: true
files: BREXX.*.*.ZIP