tangled
alpha
login
or
join now
nandi.latha.org
/
pixi-skills
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
fix: debug CI build
nandi
3 weeks ago
b71bf30a
7d606bbf
0/1
build.yml
failed
4s
+23
-9
2 changed files
expand all
collapse all
unified
split
.tangled
workflows
build.yml
recipe
recipe.yaml
+22
-9
.tangled/workflows/build.yml
···
1
1
# .tangled/workflows/build.yml
2
2
# Spindle workflow for building and testing pixi-skills
3
3
-
# Note: Python/conda binaries don't work in nixery due to FHS incompatibility
4
4
-
# We focus on building the conda package, which tests the package during build
5
3
6
4
when:
7
5
- event: ["push", "manual"]
···
25
23
CGO_ENABLED: "0"
26
24
27
25
steps:
26
26
+
- name: "Show environment"
27
27
+
command: |
28
28
+
echo "=== Working directory ==="
29
29
+
pwd
30
30
+
echo "=== Files ==="
31
31
+
ls -la
32
32
+
echo "=== Recipe ==="
33
33
+
cat recipe/recipe.yaml
34
34
+
28
35
- name: "Build conda package"
29
36
command: |
30
37
echo "=== Building conda package ==="
31
38
rattler-build build --recipe recipe/recipe.yaml --output-dir ./output
32
32
-
echo "=== Build artifacts ==="
33
33
-
ls -la output/*/
39
39
+
echo "=== Build exit code: $? ==="
40
40
+
echo "=== Output directory ==="
41
41
+
ls -laR output/
34
42
35
35
-
- name: "Verify package contents"
43
43
+
- name: "Verify package"
36
44
command: |
37
37
-
echo "=== Package contents ==="
38
38
-
ls -la output/*/*.conda
39
39
-
echo "=== Running package tests (via rattler-build) ==="
40
40
-
rattler-build test --package-path output/*/*.conda || echo "Note: Full tests need glibc-compatible environment"
45
45
+
echo "=== Finding package ==="
46
46
+
find output -name "*.conda" -type f
47
47
+
PACKAGE=$(find output -name "*.conda" -type f | head -1)
48
48
+
if [ -z "$PACKAGE" ]; then
49
49
+
echo "ERROR: No package found!"
50
50
+
exit 1
51
51
+
fi
52
52
+
echo "Package: $PACKAGE"
53
53
+
ls -la "$PACKAGE"
+1
recipe/recipe.yaml
···
3
3
version: 0.1.3.dev1
4
4
5
5
source:
6
6
+
# Parent of recipe directory = repo root
6
7
path: ../
7
8
8
9
build: