Skip to content

Commit

Permalink
runner
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Nov 17, 2024
1 parent 8ee845f commit aa95c9c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
inputs:
os:
type: string
container:
type: string
vfx-cy:
type: string
cxx-compiler:
type: string
cc-compiler:
Expand Down Expand Up @@ -46,7 +42,7 @@ on:

jobs:
ci_steps:
runs-on: ${{ inputs.os }}
# runs-on: ${{ inputs.os }}

env:
CXX: ${{ inputs.cxx-compiler }}
Expand Down Expand Up @@ -103,6 +99,7 @@ jobs:
shell: bash

- name: Build
if: false
run: |
cmake --build . \
--target install \
Expand All @@ -111,12 +108,13 @@ jobs:
shell: bash

- name: Set PATH for Imath/libdeflate DLLs
if: contains(inputs.os, 'windows')
if: contains(runner.os, 'windows')
run: |
echo "$PATH;C:/Program Files (x86)/Imath/bin;C:/Program Files (x86)/Imath/lib;C:/Program Files (x86)/libdeflate/bin;C:/Program Files (x86)/libdeflate/lib" >> $GITHUB_PATH
shell: bash

- name: Test
if: false
run: |
ctest -T Test -C ${{ inputs.build-type }} --timeout 7200 --output-on-failure -VV
working-directory: _build
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ jobs:
linux:
name: 'Linux.${{ matrix.build}}: ${{ matrix.label }}'
uses: ./.github/workflows/ci_steps.yml
runs-on: ubuntu-latest
with:
# Set values for the "inputs:" as defined in ci_steps.yml
# Note the defaults provided here for the builds that don't specify
# values.
os: ubuntu-latest
# os: ubuntu-latest
container: aswf/ci-openexr:${{ matrix.vfx-cy || '2024' }}
cxx-compiler: ${{ matrix.cxx-compiler || 'g++' }}
cc-compiler: ${{ matrix.cc-compiler || 'gcc' }}
Expand All @@ -65,7 +66,7 @@ jobs:
OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || 'OFF' }}
OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || 'OFF' }}
BUILD_TESTING: ${{ matrix.BUILD_TESTING || 'ON' }}
strategy:
strategy:
matrix:
include:

Expand Down Expand Up @@ -119,11 +120,12 @@ jobs:
macOS:
name: 'macOS.${{ matrix.build}}: ${{ matrix.label }}'
uses: ./.github/workflows/ci_steps.yml
runs-on: ${{ matrix.os || 'macos-14' }}
with:
# Set values for the "inputs:" as defined in ci_steps.yml
# Note the defaults provided here for the builds that don't specify
# values.
os: ${{ matrix.os || 'macos-14' }}
# os: ${{ matrix.os || 'macos-14' }}
cxx-compiler: ${{ matrix.cxx-compiler || 'clang++' }}
cc-compiler: ${{ matrix.cc-compiler || 'clang' }}
cxx-standard: ${{ matrix.cxx-standard || '17' }}
Expand Down Expand Up @@ -177,11 +179,12 @@ jobs:
windows:
name: 'Windows.${{ matrix.build}}: ${{ matrix.label }}'
uses: ./.github/workflows/ci_steps.yml
runs-on: ${{ matrix.os || 'windows-2022' }}
with:
# Set values for the "inputs:" as defined in ci_steps.yml
# Note the defaults provided here for the builds that don't specify
# values.
os: ${{ matrix.os || 'windows-2022' }}
# os: ${{ matrix.os || 'windows-2022' }}
cxx-standard: ${{ matrix.cxx-standard || '17' }}
build-type: ${{ matrix.build-type || 'Release' }}
BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || 'ON' }}
Expand Down

0 comments on commit aa95c9c

Please sign in to comment.