-
Notifications
You must be signed in to change notification settings - Fork 122
86 lines (75 loc) · 2.3 KB
/
ci_workflow_old.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# 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: CI-old
# Build for VFX reference platform prior to 2023, which requires a
# workaround to run an old version of glibc required by the ASWF Docker
# images.
#
# This doesn't easily integrate with the existing CI workflow, and it
# can be depreciated entirely once we've moved beyond support for the
# old CentOS-based VFX reference platform years.
#
# See this discussion for details:
# https://academysoftwarefdn.slack.com/archives/C0169RX7MMK/p1732574400981949
on:
push:
paths:
- '**'
- '!**.md'
- '!.github/workflows/**'
- '.github/workflows/ci_workflow_old.yml'
pull_request:
paths:
- '**'
- '!**.md'
- '!.github/workflows/**'
- '.github/workflows/ci_workflow_old.yml'
permissions:
contents: read
jobs:
linux:
name: 'Linux vfx${{ matrix.vfx-cy }}'
runs-on: ubuntu-latest
container:
image: aswf/ci-openexr:${{ matrix.vfx-cy }}
volumes:
- /node20217:/node20217:rw,rshared
- /node20217:/__e/node20:ro,rshared
strategy:
matrix:
include:
- build: 2022
vfx-cy: 2022
- build: 2021
vfx-cy: 2021
steps:
- name: install nodejs20glibc2.17
run: |
curl --silent https://unofficial-builds.nodejs.org/download/release/v20.18.1/node-v20.18.1-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217 -f -
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Create build directories
run: |
mkdir _install
mkdir _build
- name: Configure
run: |
cmake -B _build -S . \
-DCMAKE_INSTALL_PREFIX=_install \
-DCMAKE_VERBOSE_MAKEFILE:BOOL='ON'
- name: Build
run: |
cmake --build _build \
--target install \
--config Release
- name: Test
run: |
ctest -T Test \
-C Release \
--timeout 7200 \
--output-on-failure \
-VV
working-directory: _build