---
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