> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/pipelines-1/samples/haxe.md).

# Haxe

This guide covers configuring continuous integration pipelines for Haxe projects.

## Build and Test <a href="#build-and-test" id="build-and-test"></a>

In the below example we demonstrate a pipeline that executes `haxelib` and `haxe` commands. These commands are executed inside the haxe Docker container, downloaded at runtime from DockerHub.

```yaml
kind: pipeline
spec:
  stages:
  - type: ci
    spec:
      steps:
      - name: test
        type: run
        spec:
          container: haxe
          script: |-
            haxelib install build.hxml
            haxe build.hxml
```

Please note that you can use any Docker image in your pipeline from any Docker registry. You can use the official haxe [images](https://hub.docker.com/r/_/haxe/), or your can bring your own.

## Test Multiple Versions <a href="#test-multiple-versions" id="test-multiple-versions"></a>

You can configure multiple, containerized steps to test against multiple versions of Haxe.

```yaml
kind: pipeline
spec:
  stages:
  - type: ci
    spec:
      steps:
      - name: test 4.0
        type: run
        spec:
          container: haxe:4.0
          script: |-
            haxelib install build.hxml
            haxe build.hxml

      - name: test 3.4
        type: run
        spec:
          container: haxe:3.4
          script: |-
            haxelib install build.hxml
            haxe build.hxml
```
