diff --git a/.github/workflows/Build Thunder on Linux.yml b/.github/workflows/Build Thunder on Linux.yml index 44d0cbf61..db87b20da 100644 --- a/.github/workflows/Build Thunder on Linux.yml +++ b/.github/workflows/Build Thunder on Linux.yml @@ -3,8 +3,16 @@ name: Build Thunder on Linux on: push: branches: ["master"] + paths-ignore: + - 'doc/**' + - 'docs/**' + - 'ReleaseNotes/**' pull_request: branches: ["master"] + paths-ignore: + - 'doc/**' + - 'docs/**' + - 'ReleaseNotes/**' workflow_call: jobs: diff --git a/.github/workflows/Build Thunder on Windows.yml b/.github/workflows/Build Thunder on Windows.yml index 2c004be3a..b3263f8c4 100644 --- a/.github/workflows/Build Thunder on Windows.yml +++ b/.github/workflows/Build Thunder on Windows.yml @@ -3,8 +3,16 @@ name: Build Thunder on Windows on: push: branches: ["master"] + paths-ignore: + - 'doc/**' + - 'docs/**' + - 'ReleaseNotes/**' pull_request: branches: ["master"] + paths-ignore: + - 'doc/**' + - 'docs/**' + - 'ReleaseNotes/**' env: bridge: Thunder\Source\WPEFramework\bridge.vcxproj diff --git a/.github/workflows/Test Thunder.yml b/.github/workflows/Test Thunder.yml index d3b16efaa..d4a757606 100644 --- a/.github/workflows/Test Thunder.yml +++ b/.github/workflows/Test Thunder.yml @@ -3,13 +3,21 @@ name: Test Thunder on: push: branches: ["master"] + paths-ignore: + - 'doc/**' + - 'docs/**' + - 'ReleaseNotes/**' pull_request: branches: ["master"] - + paths-ignore: + - 'doc/**' + - 'docs/**' + - 'ReleaseNotes/**' + jobs: Thunder: runs-on: ubuntu-20.04 - + strategy: matrix: build_type: [Debug, Release, MinSizeRel] @@ -28,7 +36,7 @@ jobs: with: path: Thunder repository: rdkcentral/Thunder - + - name: Regex Thunder if: contains(github.event.pull_request.body, '[DependsOn=Thunder:') id: thunder @@ -37,7 +45,7 @@ jobs: regex_pattern: '(?<=\[DependsOn=Thunder:).*(?=\])' regex_flags: 'gim' search_string: ${{github.event.pull_request.body}} - + - name: Checkout Thunder - ${{steps.thunder.outputs.first_match}} if: contains(github.event.pull_request.body, '[DependsOn=Thunder:') uses: actions/checkout@v3 @@ -45,7 +53,7 @@ jobs: path: Thunder repository: rdkcentral/Thunder ref: ${{steps.thunder.outputs.first_match}} - + # ----- ThunderTools ----- - name: Checkout ThunderTools - default if: ${{ !contains(github.event.pull_request.body, '[DependsOn=ThunderTools:') }} @@ -53,7 +61,7 @@ jobs: with: path: ThunderTools repository: rdkcentral/ThunderTools - + - name: Regex ThunderTools if: contains(github.event.pull_request.body, '[DependsOn=ThunderTools:') id: tools @@ -84,13 +92,13 @@ jobs: sudo apt install python3-pip pip install jsonref sudo apt install build-essential cmake ninja-build libusb-1.0-0-dev zlib1g-dev libssl-dev libgtest-dev - + - name: Install generators run: | cmake -G Ninja -S ThunderTools -B ${{matrix.build_type}}/build/ThunderTools \ -DCMAKE_INSTALL_PREFIX=${{matrix.build_type}}/install/usr cmake --build ${{matrix.build_type}}/build/ThunderTools --target install - + - name: Build Thunder run: | cmake -G Ninja -S Thunder -B ${{matrix.build_type}}/build/Thunder \ @@ -113,10 +121,10 @@ jobs: - name: Run core unit tests run: ${{env.path}} ${{env.lib}} WPEFramework_test_core - + - name: Tar files run: tar -czvf ${{matrix.shared_libs == 'OFF' && 'Static-' || ''}}${{matrix.build_type}}.tar.gz ${{matrix.build_type}} - + - name: Upload uses: actions/upload-artifact@v3 with: