-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Philippe Leprince <[email protected]>
- Loading branch information
Showing
309 changed files
with
13,332 additions
and
5,301 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright (c) Contributors to the OpenEXR Project. | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
day: "monday" | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "gitsubmodule" | ||
directory: "/" | ||
schedule: | ||
day: "monday" | ||
interval: "weekly" |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,33 +22,45 @@ on: | |
types: [published] | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
repository-projects: write | ||
contents: read | ||
|
||
jobs: | ||
release: | ||
name: Sign & upload release artifacts | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
tarball: openexr-${{ github.ref_name }}.tar.gz | ||
TAG: ${{ github.ref_name }} | ||
permissions: | ||
contents: write | ||
id-token: write | ||
repository-projects: write | ||
|
||
steps: | ||
|
||
- name: Set Prefix | ||
# The tag name begins with a 'v', e.g. "v3.2.4", but the prefix | ||
# should omit the 'v', so the tarball "openexr-3.2.4.tar.gz" | ||
# extracts files into "openexr-v3.2.4/...". This matches | ||
# the GitHub release page autogenerated artifact conventions. | ||
run: | | ||
echo OPENEXR_PREFIX=openexr-${TAG//v}/ >> $GITHUB_ENV | ||
echo OPENEXR_TARBALL=openexr-${TAG//v}.tar.gz >> $GITHUB_ENV | ||
shell: bash | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Create archive | ||
run: git archive --format=tar.gz -o ${{ env.tarball }} ${{ github.ref_name }} | ||
run: git archive --format=tar.gz -o ${OPENEXR_TARBALL} --prefix ${OPENEXR_PREFIX} ${TAG} | ||
|
||
- name: Sign archive with Sigstore | ||
uses: sigstore/[email protected] | ||
with: | ||
inputs: ${{ env.tarball }} | ||
inputs: ${{ env.OPENEXR_TARBALL }} | ||
|
||
- name: Upload release archive | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: gh release upload ${{ github.ref_name }} ${{ env.tarball }} ${{ env.tarball }}.sigstore | ||
run: gh release upload ${{ github.ref_name }} ${OPENEXR_TARBALL} ${OPENEXR_TARBALL}.sigstore | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright (c) Contributors to the OpenEXR Project. | ||
# | ||
# GitHub Actions workflow file | ||
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions | ||
|
||
name: Website | ||
|
||
# Run only on changes in the "website" directory or workflow file. | ||
# Skip the release branches, since the website is built from main. | ||
# | ||
# Readthedocs builds the website on ubuntu-20.04, so technically | ||
# that's the only system that requires the website to build properly, | ||
# but developers contributing to the website may work on Windows or | ||
# macOS, so this confirms that it builds properly there, too. | ||
# | ||
# Note that this does not build the OpenEXR libraries, it only runs | ||
# doxygen and sphinx to generate the website html. | ||
# | ||
|
||
on: | ||
|
||
push: | ||
branches-ignore: | ||
- RB-* | ||
paths: | ||
- 'website/**' | ||
- '.github/workflows/website_workflow.yml' | ||
|
||
pull_request: | ||
branches-ignore: | ||
- RB-* | ||
paths: | ||
- 'website/**' | ||
- '.github/workflows/website_workflow.yml' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
|
||
Website: | ||
|
||
name: "Website" | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, macos-latest, windows-latest] | ||
|
||
env: | ||
# doxygen 1.10 causes sphinx to fail, so pin to 1.9 for now. | ||
DOXYGEN_VERSION: 1.9.1 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Create build directory | ||
run: mkdir _build | ||
- name: Install doxygen | ||
run: ./website/scripts/install_doxygen.sh ${DOXYGEN_VERSION} | ||
shell: bash | ||
- name: Install sphinx requirements | ||
run: pip3 install -r website/requirements.txt | ||
- name: Configure | ||
run: cmake .. -DBUILD_WEBSITE=ON -DCMAKE_VERBOSE_MAKEFILE=ON | ||
working-directory: _build | ||
- name: Build | ||
run: cmake --build . --target website --config Release | ||
working-directory: _build | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.