-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrecipe.yaml
More file actions
65 lines (54 loc) · 1.58 KB
/
recipe.yaml
File metadata and controls
65 lines (54 loc) · 1.58 KB
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
context:
version: "1.4.0"
mojo_version: "=0.25.6"
extramojo_version: "=0.18"
package:
name: "ish"
version: ${{ version }}
source:
# - git: https://github.com/BioRadOpenSource/ish.git
# rev: 707e862d216cd2b9cae05cc65caaa78ca36f7311
path: .
use_gitignore: true
build:
number: 0
script:
- mkdir -p ${{ PREFIX }}/share/mojo
# Needed for tests
- mojo package -o ${{ PREFIX }}/share/mojo/ishlib.mojopkg ./ishlib
- mkdir -p ${{ PREFIX }}/bin
- mojo build -D ISH_SIMD_TARGET=baseline -D ISH_LOG_LEVEL=info -o ${{ PREFIX }}/bin/ish main.mojo
# Need to remove these or install_name_tool tries and fails to update paths
- find ${{ PREFIX }} -type d -name .mojo_cache -exec rm -rf {} +
requirements:
host:
- mojo-compiler ${{ mojo_version }}
- extramojo ${{ extramojo_version }}
- zlib >=1.3.1,<2
run:
- mojo-compiler ${{ mojo_version }}
- zlib >=1.3.1,<2
tests:
- script:
- if: unix
then:
- mojo test -I ${{ PREFIX }}/share/mojo/ishlib.mojopkg tests
requirements:
run:
- mojo-compiler ${{ mojo_version }}
- extramojo ${{ extramojo_version }}
- zlib >=1.3.1,<2
files:
source:
- tests
about:
homepage: https://github.com/BioRadOpenSource/ish
license: Apache-2.0
license_file: LICENSE
summary: Alignment-based filtering CLI tool
repository: https://github.com/BioRadOpenSource/ish
extra:
maintainers:
- sstadick
project_name: ish