diff options
author | Michael Abel <75477722+abelikt@users.noreply.github.com> | 2021-11-26 12:21:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 12:21:28 +0100 |
commit | 6bab2aef8f1cf11c83b19f8637e6802591b29e42 (patch) | |
tree | 99b792bfa56e2ccb6d1ac85caed75fb138302a27 /.github | |
parent | 5de02125d2ec192e683654210d024e7325d8e5f7 (diff) |
[CIT-617] Add Apama plugin protoype to build (#642)
* Add apama plugin to build
Cherry pick
Signed-off-by: Michael Abel <info@abel-ikt.de>
* Prepare extension of installation script
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-workflow.yml | 17 | ||||
-rw-r--r-- | .github/workflows/integration-test-workflow.yml | 4 | ||||
-rw-r--r-- | .github/workflows/system-test-offsite.yml | 2 |
3 files changed, 20 insertions, 3 deletions
diff --git a/.github/workflows/build-workflow.yml b/.github/workflows/build-workflow.yml index c7854730..75c217e1 100644 --- a/.github/workflows/build-workflow.yml +++ b/.github/workflows/build-workflow.yml @@ -61,6 +61,13 @@ jobs: command: deb args: -p tedge_apt_plugin + - name: Build tedge_apama_plugin debian package + uses: actions-rs/cargo@v1 + # https://github.com/marketplace/actions/rust-cargo + with: + command: deb + args: -p tedge_apama_plugin + - name: Build tedge_agent debian package uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo @@ -177,6 +184,9 @@ jobs: - name: Strip tedge_apt_plugin run: arm-linux-gnueabihf-strip target/${{ matrix.target }}/release/tedge_apt_plugin || aarch64-linux-gnu-strip target/${{ matrix.target }}/release/tedge_apt_plugin + - name: Strip tedge_apama_plugin + run: arm-linux-gnueabihf-strip target/${{ matrix.target }}/release/tedge_apama_plugin || aarch64-linux-gnu-strip target/${{ matrix.target }}/release/tedge_apama_plugin + - name: build tedge debian package for target uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo @@ -205,6 +215,13 @@ jobs: command: deb args: -p tedge_apt_plugin --no-strip --no-build --target=${{ matrix.target }} + - name: build tedge_apama_plugin debian package for target + uses: actions-rs/cargo@v1 + # https://github.com/marketplace/actions/rust-cargo + with: + command: deb + args: -p tedge_apama_plugin --no-strip --no-build --target=${{ matrix.target }} + - name: build examples uses: actions-rs/cargo@v1 # https://github.com/marketplace/actions/rust-cargo diff --git a/.github/workflows/integration-test-workflow.yml b/.github/workflows/integration-test-workflow.yml index 539f1835..38430dae 100644 --- a/.github/workflows/integration-test-workflow.yml +++ b/.github/workflows/integration-test-workflow.yml @@ -46,7 +46,7 @@ jobs: continue-on-error: true - name: purge - run: sudo dpkg -P tedge_agent tedge_mapper tedge_apt_plugin tedge mosquitto libmosquitto1 collectd-core + run: sudo dpkg -P tedge_agent tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto libmosquitto1 collectd-core continue-on-error: true - name: install mosquitto @@ -142,7 +142,7 @@ jobs: # mosquitto-clients is required for system test only, but has dependency on libmosquitto1. # therefore, we need to purge it here, and mosquitto-clients is required only for RPi. - name: purge - run: sudo dpkg -P tedge_agent tedge_mapper tedge_apt_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core + run: sudo dpkg -P tedge_agent tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core continue-on-error: true - name: install mosquitto diff --git a/.github/workflows/system-test-offsite.yml b/.github/workflows/system-test-offsite.yml index e4dc8727..399c95c3 100644 --- a/.github/workflows/system-test-offsite.yml +++ b/.github/workflows/system-test-offsite.yml @@ -52,7 +52,7 @@ jobs: path: /home/pi/examples - name: purge packages - run: sudo dpkg -P tedge_agent tedge_mapper tedge_apt_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core + run: sudo dpkg -P tedge_agent tedge_mapper tedge_apt_plugin tedge_apama_plugin tedge mosquitto-clients mosquitto libmosquitto1 collectd-core continue-on-error: true - name: install packages |