this repo has no description

Add conda package recipe and release workflow

+59
+31
.tangled/workflows/conda-release.yml
··· 1 + # .tangled/workflows/conda-release.yml 2 + # Build and publish conda package to prefix.dev 3 + 4 + when: 5 + - event: ["push"] 6 + tag: ["v*"] 7 + 8 + engine: "nixery" 9 + 10 + clone: 11 + skip: false 12 + depth: 1 13 + submodules: false 14 + 15 + dependencies: 16 + nixpkgs: 17 + - go 18 + - rattler-build 19 + - curl 20 + 21 + environment: 22 + CGO_ENABLED: "0" 23 + 24 + steps: 25 + - name: "Build conda package" 26 + command: | 27 + rattler-build build --recipe recipe.yaml --output-dir ./output 28 + 29 + - name: "Upload to prefix.dev" 30 + command: | 31 + rattler-build upload prefix --channel nandi-testing output/**/*.conda
+28
recipe.yaml
··· 1 + package: 2 + name: godemo 3 + version: "0.1.0" 4 + 5 + source: 6 + # Use git source for spindle builds - it clones the repo 7 + path: . 8 + 9 + build: 10 + number: 0 11 + script: 12 + - go build -v -ldflags="-s -w" -o $PREFIX/bin/godemo . 13 + 14 + requirements: 15 + build: 16 + - go >=1.21 17 + 18 + tests: 19 + - script: 20 + - godemo & 21 + - sleep 1 22 + - curl -s http://localhost:8080/health | grep -q OK 23 + - pkill godemo 24 + 25 + about: 26 + home: https://tangled.org/@nandi.latha.org/godemo 27 + summary: Simple Go demo app for Tangled 28 + license: MIT