35 lines
604 B
YAML
35 lines
604 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: hello world
|
|
image: alpine:3.16.2
|
|
commands:
|
|
- echo hello
|
|
- echo world
|
|
- name: python
|
|
image: python:3.11-rc-alpine
|
|
commands:
|
|
- python3 -c "print(6 * 7)"
|
|
- name: algo2
|
|
image: gcc:12.2.0
|
|
commands:
|
|
- cd algo2
|
|
- gcc -o pairingheap pairingheap.c
|
|
- ./pairingheap
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: haskell
|
|
|
|
steps:
|
|
- name: radix-heap
|
|
image: nixos/nix:2.11.0
|
|
commands:
|
|
- cd algo2/radix-heap
|
|
- nix-shell --run "stack build"
|
|
- nix-shell --run "stack test"
|