Merge PR #55: 5.1 surround_params SDL order (danbrun) #29
This file contains hidden or 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: Build (webOS) | |
| on: | |
| push: | |
| # Don't run for tags | |
| tags-ignore: | |
| - 'v*.*.*' | |
| branches: | |
| - main | |
| - 'release/**' | |
| pull_request: | |
| branches: | |
| - main | |
| # Drop superseded builds for the same ref so stuck/queued runners do not pile up. | |
| concurrency: | |
| group: build-webos-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
| BUILD_TYPE: Debug | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 90 | |
| steps: | |
| - name: Set Short Commit ID | |
| shell: bash | |
| run: echo SHORT_SHA="${GITHUB_SHA:0:8}" >> $GITHUB_ENV | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Download ares-cli-rs | |
| uses: robinraju/release-downloader@v1.9 | |
| with: | |
| repository: "webosbrew/ares-cli-rs" | |
| latest: true | |
| fileName: "ares-package_*_amd64.deb" | |
| out-file-path: "temp" | |
| - name: Download Homebrew Toolbox | |
| uses: robinraju/release-downloader@v1.9 | |
| with: | |
| repository: "webosbrew/dev-toolbox-cli" | |
| latest: true | |
| fileName: "webosbrew-toolbox-*_amd64.deb" | |
| out-file-path: "temp" | |
| - name: Update Packages | |
| run: sudo apt-get -yq update | |
| - name: Install Tools | |
| run: sudo apt-get install ./temp/*.deb | |
| - name: webOS Build | |
| uses: ./.github/actions/build-webos | |
| with: | |
| build-type: ${{ env.BUILD_TYPE }} | |
| - name: Add Commit Hash Suffix | |
| shell: bash | |
| working-directory: dist | |
| run: for file in *.ipk ; do mv $file ${file//_arm/-${SHORT_SHA}_arm} ; done | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: webos-snapshot-${{ env.SHORT_SHA }} | |
| path: dist/*.ipk | |
| - name: Compatibility Check | |
| run: webosbrew-ipk-verify -f markdown -d -o $GITHUB_STEP_SUMMARY dist/*.ipk |