Refactor: extract shared WebPEncoder, unify error handling, improve API #4
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] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-macos: | |
| name: Build & Test (macOS) | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Select Xcode 16 | |
| run: sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer | |
| - name: Show Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Run tests | |
| run: swift test | |
| build-linux: | |
| name: Build & Test (Linux) | |
| runs-on: ubuntu-latest | |
| container: | |
| image: swift:6.0 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Show Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Run tests | |
| run: swift test |