feat: add native code dependencies for AVIF. #24
Workflow file for this run
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: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build | |
| strategy: | |
| matrix: | |
| runs-on: | |
| - macos-14 | |
| - ubuntu-22.04 | |
| fail-fast: false | |
| runs-on: ${{ matrix.runs-on }} | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| cache: false | |
| go-version: "1.23" | |
| - name: Build | |
| run: go build | |
| - name: Test | |
| run: go test -v | |
| - name: Build examples | |
| run: | | |
| cd examples | |
| go build |