GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DiligentGraphics/github-action: Custom actions used by the Diligent Engine CI

BranchesTags
Open more actions menu

Latest commit

 

History

101 Commits
101 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
checkout
checkout
 
 
clean-disk-ubuntu
clean-disk-ubuntu
 
 
common
common
 
 
configure-cmake
configure-cmake
 
 
install-doxygen
install-doxygen
 
 
run-core-gpu-tests
run-core-gpu-tests
 
 
run-core-tests
run-core-tests
 
 
run-fx-gpu-tests
run-fx-gpu-tests
 
 
run-hlsl2glsl-converter-test
run-hlsl2glsl-converter-test
 
 
run-radient-gpu-tests
run-radient-gpu-tests
 
 
run-radient-render-tests
run-radient-render-tests
 
 
run-radient-tests
run-radient-tests
 
 
run-sample-tests
run-sample-tests
 
 
run-tools-gpu-tests
run-tools-gpu-tests
 
 
run-tools-tests
run-tools-tests
 
 
setup-build-env
setup-build-env
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

github-action

Custom actions used by the Diligent Engine CI.

checkout

Checks out the specified module and its required dependent modules.

Example:

steps:
- name: Checkout
    uses: DiligentGraphics/github-action/checkout@master
    with:
      module:     Tools # Optional; by default, current module is checked out
      submodules: true  # Optional; by default, 'recursive' is used

setup-build-env

Sets up the build environment and downloads the required prerequisites:

  • Ninja
  • Vulkan SDK
  • Java
  • Emscripten SDK
  • Required linux libraries

Example:

steps:
- name: Set up build environment
    uses: DiligentGraphics/github-action/setup-build-env@v28
    with:
      platform:           Win32     # UWP, Linux, MacOS, tvOS, iOS, Android, Web
      cmake-generator:    Ninja     # Optional
      ninja-vs-arch:      x64       # When Ninja is used for VS build
      vulkan-sdk-version: 1.4.363.0 # Optional, see defaults below
      java-version:       17        # Optional, see defaults below
      emsdk-version:      6.0.11    # Optional, see defaults below

Default component versions are specified in the table below:

Component v28
Vulkan SDK 1.4.363.0
Java 17
Emscripten SDK 6.0.11

Linux libraires:

  • v1
    • build-essential
    • libx11-dev
    • libgl1-mesa-dev
    • libxrandr-dev
    • libxinerama-dev
    • libxcursor-dev
    • libxi-dev

configure-cmake

Configures CMake; creates a helper CMakeLists.txt file, if necessary.

Example:

steps:
- name: Configure CMake
  if: success()
  uses: DiligentGraphics/github-action/configure-cmake@v1
  with:
    generator:             Visual Studio 17 2022
    vs-arch:               x64   # Required for VS generator
    build-type:            Debug # Required
    cmake-args:            -DDILIGENT_DEVELOPMENT=ON # Optional extra CMake arguments
    osx-deployment-target: 11         # Required for iOS/tvOS
    osx-architectures:     arm64      # Required for iOS/tvOS
    cc:                    clang-12   # Optional for Linux
    cxx:                   clang++-12 # Optional for Linux
    windows-sdk-version:   10.0.22621.0 # Optional for Visual Studio generator

Default versions are specified in the table below:

Parameter v1
osx-deployment-target 11

The action sets the following environment variables:

  • DILIGENT_BUILD_TYPE - Build type (${{inputs.build-type}})
  • DILIGENT_BUILD_DIR - Build directory (${{runner.workspace}}/build)
  • DILIGENT_INSTALL_DIR - Install directory (${{runner.workspace}}/build/install)

build

Runs the build for the current configuration.

Example:

steps:
- name: Build
  if: success()
  uses: DiligentGraphics/github-action/build@master
  with:
    target: install # Optional target

run-core-tests

Runs Diligent Core tests for the current configuration.

Example:

steps:
- name: DiligentCoreTest
  if:   success()
  uses: DiligentGraphics/github-action/run-core-tests@master

run-core-gpu-tests

Runs Diligent Core GPU tests for the current configuration.

Example:

- name: DiligentCoreAPITest D3D12 DXC
  if:   success()
  uses: DiligentGraphics/github-action/run-core-gpu-tests@master
  with:
    mode:                d3d12_sw
    use-dxc:             true
    non-separable-progs: false

run-tools-tests

Runs Diligent Tools tests for the current configuration.

Example:

steps:
- name: DiligentToolsTest
  if:   success()
  uses: DiligentGraphics/github-action/run-tools-tests@master

run-tools-gpu-tests

Runs Diligent Tools GPU tests for the current configuration.

Example:

- name: DiligentToolsGPUTest D3D11
  if:   success()
  uses: DiligentGraphics/github-action/run-tools-gpu-tests@master
  with:
    mode:    d3d11_sw

run-fx-gpu-tests

Runs the DiligentFXGPUTest suite for the current configuration. Build with DILIGENT_BUILD_FX_TESTS=ON before running this action. Tests run from DiligentFX/Tests/DiligentFXGPUTest/assets.

The required mode input selects the graphics backend; the optional args input passes additional test arguments. Like the other GPU test actions, it captures output in TestOutput.log and verifies the requested backend was used.

Example:

- name: DiligentFXGPUTest D3D11
  if:   success()
  uses: DiligentGraphics/github-action/run-fx-gpu-tests@master
  with:
    mode: d3d11_sw
    args: --gtest_filter=*AtlasSamplingTest*

run-sample-tests

Runs sample and tutorial tests for the current configuration.

Example:

- name: Sample Tests D3D11
    uses: DiligentGraphics/github-action/run-sample-tests@v1
    with:
      mode:                d3d12_sw
      golden-image-mode:   compare_update
      non-separable-progs: false

run-radient-render-tests

Runs Radient reference-image rendering tests.

Example:

- name: Radient Render Tests D3D11
  uses: DiligentGraphics/github-action/run-radient-render-tests@master
  with:
    mode:                 d3d11_sw
    models-path:          ${{github.workspace}}/glTF-Sample-Assets
    assets-path:          ${{github.workspace}}/RadientTestData
    update-golden-images: true

clean-disk-ubuntu

Removes unneeded packages and tools to free disk space.

Example:

- name: Clean Disk
  uses: DiligentGraphics/github-action/clean-disk-ubuntu@master
  preserve-android-ndk: 27.0.12077973

install-doxygen

Installs Doxygen.

Example:

- name: Install Doxygen
  uses: DiligentGraphics/github-action/install-doxygen@master

About

Custom actions used by the Diligent Engine CI

Resources

Readme
MIT license
Activity
Custom properties

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.