Skip to content

Commit

Permalink
Use ibmi-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Zak authored and Jonathan Zak committed Jul 23, 2024
1 parent 346aa67 commit b366a25
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
pull_request:
branches: [ "*" ]

env:
remote_build_dir: /home/${{ secrets.IBMI_USER }}/testbuild/
build_lib: MANZANTESTBLD
dist_lib: MANZANTEST

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -22,14 +27,31 @@ jobs:
java-version: '8'
distribution: 'temurin'
cache: maven

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
always-auth: true

- name: Build Manzan-installer
run: pwd; gmake manzan-installer-v0.0.0.jar
- name: Install NPM Dependencies
run: npm i -g @ibm/ibmi-ci

- name: Install Manzan
working-directory: test
run: |
ici \
--rcwd "${{ env.remote_build_dir }}" \
--push "." \
--cmd "/QOpenSys/pkgs/bin/gmake --jobs=1 install" \
--ignore --cl "dltlib ${{ env.build_lib }}" \
--ignore --cmd "rm -rf /QOpenSys/etc/manzan /opt/manzan"
- name: Run Manzan-installer
working-directory: camel
run: java -jar manzan-installer-v0.0.0.jar
- name: Test Manzan
working-directory: test
run: ./runTests.sh
run: |
ici \
--rcwd "${{ env.remote_build_dir }}/test" \
--cmd "/QOpenSys/pkgs/bin/gmake --jobs=1 all" \

0 comments on commit b366a25

Please sign in to comment.