Skip to content

Commit 6568f6b

Browse files
committed
get selshaurl to pass
1 parent ef3e5b7 commit 6568f6b

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

tests/test_migrators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,8 @@ def run_test_migration(
578578
pat = re.compile(r"{#.*#}")
579579
actual_output = pat.sub("", actual_output)
580580
output = pat.sub("", output)
581+
print(actual_output)
582+
581583
assert actual_output == output
582584
# TODO: fix subgraph here (need this to be xsh file)
583585
if isinstance(m, Version):

tests/test_v1_yaml/version_selshaurl.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ package:
1212
source:
1313
- if: linux
1414
then:
15-
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.linux.tar.gz
16-
sha256: 8cca2d7ef6e3f18668246c9eed609e03e720e4033d069164c991c5feb078443c
17-
file_name: ${{ name }}-${{ version }}.tar.gz
15+
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.linux.tar.gz
16+
sha256: 8cca2d7ef6e3f18668246c9eed609e03e720e4033d069164c991c5feb078443c
17+
file_name: ${{ name }}-${{ version }}.tar.gz
1818
- if: osx
1919
then:
20-
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.macosx.tar.gz
21-
sha256: f6113506bab9430f98773b0ab7776efe387f4d40c8785d8f8c427a91c36f4cfe
22-
file_name: ${{ name }}-${{ version }}.tar.gz
20+
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.macosx.tar.gz
21+
sha256: f6113506bab9430f98773b0ab7776efe387f4d40c8785d8f8c427a91c36f4cfe
22+
file_name: ${{ name }}-${{ version }}.tar.gz
2323
- if: win
2424
then:
25-
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x64.vc14.windows.zip
26-
sha256: 6432449254f56b037f17d876403f919f6c136cc16ec91f7778001b10eea115ac
27-
file_name: ${{ name }}-${{ version }}.zip
25+
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x64.vc14.windows.zip
26+
sha256: 6432449254f56b037f17d876403f919f6c136cc16ec91f7778001b10eea115ac
27+
file_name: ${{ name }}-${{ version }}.zip
2828

2929
build:
3030
number: 100

tests/test_v1_yaml/version_selshaurl_correct.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ schema_version: 1
33

44
context:
55
name: embree
6-
version: 3.7.0
6+
version: "3.7.0"
77

88
package:
99
name: ${{ name }}
@@ -12,19 +12,19 @@ package:
1212
source:
1313
- if: linux
1414
then:
15-
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.linux.tar.gz
16-
sha256: 671a3aa7cc1c8501f1290dd051b42a337a692ea6552a07436779439d649e3e29
17-
file_name: ${{ name }}-${{ version }}.tar.gz
15+
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.linux.tar.gz
16+
sha256: 671a3aa7cc1c8501f1290dd051b42a337a692ea6552a07436779439d649e3e29
17+
file_name: ${{ name }}-${{ version }}.tar.gz
1818
- if: osx
1919
then:
20-
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.macosx.tar.gz
21-
sha256: 17c31f67efb9afc3ed658fcaa5886bc10c6f67f1e364d6494e494d189d8b8c70
22-
file_name: ${{ name }}-${{ version }}.tar.gz
20+
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x86_64.macosx.zip
21+
sha256: 17c31f67efb9afc3ed658fcaa5886bc10c6f67f1e364d6494e494d189d8b8c70
22+
file_name: ${{ name }}-${{ version }}.tar.gz
2323
- if: win
2424
then:
25-
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x64.vc14.windows.zip
26-
sha256: 442c8933fa3a21d66c0459ded83e1a4c896b1a26c4e46ea62e65ffbfec273be2
27-
file_name: ${{ name }}-${{ version }}.zip
25+
- url: https://github.com/${{ name }}/${{ name }}/releases/download/v${{ version }}/${{ name }}-${{ version }}.x64.vc14.windows.zip
26+
sha256: 442c8933fa3a21d66c0459ded83e1a4c896b1a26c4e46ea62e65ffbfec273be2
27+
file_name: ${{ name }}-${{ version }}.zip
2828

2929
build:
3030
number: 0
@@ -40,6 +40,8 @@ requirements:
4040
then: python
4141

4242
about:
43+
license: Apache-2.0
44+
license_file: doc/LICENSE.txt
4345
summary: High Performance Ray Tracing Kernels
4446
homepage: https://embree.github.io/
4547

0 commit comments

Comments
 (0)