Skip to content

BlueCyro is building libheif #14

BlueCyro is building libheif

BlueCyro is building libheif #14

Workflow file for this run

name: Build libheif
run-name: ${{ github.actor }} is building libheif
on:
push:
branches:
- cyro/feat/libheif-build-actions
jobs:
Build-Libheif-All-Platforms:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Release]
c_compiler: [clang, cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
dir_list: dir
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang
dir_list: ls -lah
exclude:
- os: windows-latest
c_compiler: clang
cpp_compiler: clang

Check failure on line 29 in .github/workflows/test-action.yml

View workflow run for this annotation

GitHub Actions / Build libheif

Invalid workflow file

The workflow is not valid. .github/workflows/test-action.yml (Line: 29, Col: 23): Matrix exclude key 'cpp_compiler' does not match any key within the matrix .github/workflows/test-action.yml (Line: 33, Col: 23): Matrix exclude key 'cpp_compiler' does not match any key within the matrix
- os: ubuntu-latest
c_compiler: cl
cpp_compiler: cl
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "${{ github.repository }} cloned"
- name: "[Debug] List directory contents"
run: ${{ matrix.dir_list }}
- name: Make build directory
run: mkdir build
- name: Create output directory variable
id: buildoutput
run: echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Configure CMake
working-directory: ${{ steps.buildoutput.outputs.build-output-dir }}
run: cmake --preset=release-noplugins ..
- name: Build libheif
working-directory: ${{ steps.buildoutput.outputs.build-output-dir }}
run: make
- name: "[Debug] List build directory contents again"
working-directory: ${{ steps.buildoutput.outputs.build-output-dir }}
run: ${{ matrix.dir_list }}
- name: "[Debug] List libheif directory"
working-directory: ${{ steps.buildoutput.outputs.build-output-dir }}
run: ${{ matrix.dir_list }} "./libheif"
- name: Archive and put a pretty bow on it
uses: actions/upload-artifact@v4
with:
name: libheif
path: ${{ steps.buildoutput.outputs.build-output-dir }}/libheif