fixed the build flow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Sensing dev installer Test | |
on: | |
push: | |
branches-ignore: | |
- main # This will run the build and test jobs for every push on all branches except for dev to main | |
pull_request: | |
branches: [ release/v24.05 ] | |
### modify here for update ##################################################### | |
env: | |
SDK_VERSION: v24.05.11 | |
################################################################################ | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
LD_LIBRARY_PATH: /opt/sensing-dev/lib:/opt/sensing-dev/lib/x86_64-linux-gnu | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: Make the script files executable | |
run: | | |
chmod +x ${GITHUB_WORKSPACE}/installer/tools/setup.sh | |
- name: Run the script to install | |
run: | | |
sudo bash ${GITHUB_WORKSPACE}/installer/tools/setup.sh --develop-test --version ${{ env.SDK_VERSION}} | |
- name: Check if /opt/sensing-dev exists | |
id: check_files | |
uses: andstor/file-existence-action@v3 | |
with: | |
files: /opt/sensing-dev | |
fail: true | |
- name: Test Environment variable for Aravis | |
run: | | |
/opt/sensing-dev/bin/arv-tool-0.8 | |
# Todo: adding the test to check OpenCV, ion-kit, Aravis, GOjbect | |