BlueCyro is building libheif #14
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
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 GitHub Actions / Build libheifInvalid workflow file
|
||
- 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 |