CI: Update to latest actions version and base image #1256
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 - ARM" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 'cog-*' | |
| pull_request: | |
| branches: | |
| - master | |
| - 'cog-*' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| buildtype: [release, debug] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| id: cache | |
| with: | |
| path: ~/toolchain | |
| key: arm-${{ runner.os }}-${{ hashFiles('.github/toolchain.sh') }} | |
| restore-keys: tc-${{ runner.os }}- | |
| - name: Install Toolchain | |
| run: |- | |
| .github/toolchain.sh ~/toolchain | |
| - name: Configure | |
| env: | |
| BUILD_TYPE: ${{ matrix.buildtype }} | |
| run: |- | |
| . ~/toolchain/environment-setup-*-poky-linux-gnueabi | |
| meson build --buildtype "${BUILD_TYPE}" \ | |
| -Dplatforms=drm,headless,wayland \ | |
| -Dprograms=true \ | |
| -Ddocumentation=false \ | |
| -Dmanpages=false \ | |
| -Dwpe_api=1.1 | |
| - name: Build | |
| env: | |
| TERM: dumb | |
| run: | |
| . ~/toolchain/environment-setup-*-poky-linux-gnueabi | |
| ninja -C build |