Skip to content

Add out.png to test artifacts #22

Add out.png to test artifacts

Add out.png to test artifacts #22

Workflow file for this run

name: Offscreen
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
inputs:
enable_ssh:
type: boolean
description: 'Enable ssh'
required: false
default: false
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-14]
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libglvnd-dev libglfw3-dev libglu1-mesa-dev
version: 1.0
if: runner.os == 'Linux'
- run: brew install glfw
if: runner.os == 'macOS'
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.enable_ssh }}
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}}
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: Test Results(${{ matrix.os }})
path: |

Check failure on line 64 in .github/workflows/offscreen.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/offscreen.yml

Invalid workflow file

You have an error in your yaml syntax on line 64
build/Testing/Temporary/LastTest.log
out.png