Switch to amazonlinux:2023 #19
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: CI | |
| on: | |
| - push | |
| - pull_request | |
| permissions: {} | |
| jobs: | |
| check-latest-versions: | |
| permissions: | |
| contents: read | |
| runs-on: 'ubuntu-24.04' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Check latest versions | |
| run: ./check-latest-versions.sh && git diff --quiet | |
| build: | |
| permissions: | |
| contents: read | |
| name: build-${{ matrix.platform }} | |
| runs-on: ${{ matrix.os }} | |
| needs: check-latest-versions | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: 'ubuntu-24.04' | |
| platform: 'linux-x64' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install dependencies (macOS) | |
| if: runner.os == 'macOS' | |
| run: | | |
| pipx install meson | |
| brew install automake nasm | |
| - name: Build ${{ matrix.platform }} | |
| run: ./build.sh ${{ matrix.platform }} | |
| - name: Upload ${{ matrix.platform }} artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: build-${{ matrix.platform }} | |
| path: '*.tar.gz' | |
| compression-level: 0 | |
| retention-days: 1 | |
| if-no-files-found: error |