Skip to content

Commit

Permalink
test5
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Jan 11, 2024
1 parent c498aff commit 66668fc
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,26 @@ jobs:
mkdir _install
- name: Configure
run: |
cmake .. \
-DCMAKE_INSTALL_PREFIX=../_install \
-DCMAKE_VERBOSE_MAKEFILE:BOOL='ON' \
-DBUILD_TESTING='OFF' \
-DOPENEXR_BUILD_TOOLS='OFF' \
-DOPENEXR_INSTALL_TOOLS='OFF' \
-DOPENEXR_INSTALL_DOCS='OFF' \
-DOPENEXR_INSTALL_EXAMPLES='OFF'
touch ../_install/openexr.txt
### cmake .. \
### -DCMAKE_INSTALL_PREFIX=../_install \
### -DCMAKE_VERBOSE_MAKEFILE:BOOL='ON' \
### -DBUILD_TESTING='OFF' \
### -DOPENEXR_BUILD_TOOLS='OFF' \
### -DOPENEXR_INSTALL_TOOLS='OFF' \
### -DOPENEXR_INSTALL_DOCS='OFF' \
### -DOPENEXR_INSTALL_EXAMPLES='OFF'
working-directory: _build
- name: Build & Install
run: |
cmake --build . \
--target install
working-directory: _build

- uses: actions/cache/save@v3
- uses: actions/cache@v2
with:
path: _build
key: ${{ runner.os }}-install-${{ hashFiles('_install/**') }}
restore-keys: |
${{ runner.os }}-install
path: _install/**
key: ${{ runner.os }}-install-${{ github.sha }}

build_wheels:
name: Build Python wheels
Expand Down Expand Up @@ -100,6 +99,11 @@ jobs:
CMAKE_PREFIX_PATH: ${{github.workspace}}/_install

steps:
- uses: actions/cache@v2
with:
path: _install/**
key: ${{ runner.os }}-install-${{ github.sha }}

- uses: actions/setup-python@v4
with:
python-version: '3.x'
Expand Down

0 comments on commit 66668fc

Please sign in to comment.