refactor(pdf): log magick error #7
This file contains 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
on: | |
workflow_dispatch: | |
push: | |
branches: ["**"] | |
paths-ignore: | |
- "**/*.md" | |
name: ποΈ Build | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
type: [linux, windows] | |
config: [Release, Debug] | |
include: | |
- type: linux | |
container: fedora:40 | |
deps: sudo dnf install -y git cmake gcc gcc-c++ ninja-build ImageMagick ImageMagick-devel ImageMagick-c++-devel | |
- type: windows | |
deps: choco install --force -y -PackageParameters InstallDevelopmentHeaders=true imagemagick.app | |
runs-on: ${{ contains(matrix.type, 'windows') && 'windows-latest' || 'ubuntu-latest' }} | |
container: ${{ matrix.container }} | |
name: "${{ matrix.type }} (βοΈ: ${{ matrix.config }})" | |
steps: | |
- name: π¦ Checkout | |
uses: actions/checkout@v4 | |
- name: π§° Dependencies | |
run: ${{ matrix.deps }} | |
- name: π§ Compile | |
run: | | |
cmake -B build | |
cmake --build build --config ${{ matrix.config }} | |
- name: π¦ Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.type }}-${{ matrix.config }} | |
path: build |