File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ name: Rust CI
2
2
3
3
on :
4
4
pull_request :
5
+ paths-ignore :
6
+ - ' **.md'
5
7
push :
8
+ paths-ignore :
9
+ - ' **.md'
6
10
branches :
7
11
- master
8
12
39
43
- name : Add rustup components
40
44
run : rustup component add rustfmt clippy
41
45
46
+ - name : Download OptiX Headers
47
+ run : scripts/download_ci_optix.bash
48
+
42
49
- name : Load Rust Cache
43
50
uses : Swatinem/rust-cache@v1
44
51
Original file line number Diff line number Diff line change
1
+ BASE_DIR=$( cd $( dirname " $0 " ) ; pwd)
2
+ DEPS_DIR=" ${BASE_DIR} /deps"
3
+ OPTIX_VERSION=" 7.0"
4
+
5
+ echo " Used OptiX version: ${OPTIX_VERSION} "
6
+ mkdir -p ${DEPS_DIR} /optix/include
7
+ OPTIX_URL=https://developer.download.nvidia.com/redist/optix/v${OPTIX_VERSION}
8
+
9
+ for f in optix.h optix_device.h optix_function_table.h \
10
+ optix_function_table_definition.h optix_host.h \
11
+ optix_stack_size.h optix_stubs.h optix_types.h optix_7_device.h \
12
+ optix_7_host.h optix_7_types.h \
13
+ internal/optix_7_device_impl.h \
14
+ internal/optix_7_device_impl_exception.h \
15
+ internal/optix_7_device_impl_transformations.h
16
+ do
17
+ curl --retry 100 -m 120 --connect-timeout 30 \
18
+ $OPTIX_URL /include/$f > $DEPS_DIR /optix/include/$f
19
+ done
20
+ export OPTIX_ROOT=${DEPS_DIR} /optix
You can’t perform that action at this time.
0 commit comments