pipeline {
    agent any
    stages {
        stage('Checkout') {
            steps {
                checkout([$class: 'MercurialSCM', source: 'https://hg.hgdump.net/page', revision: 'default'])
            }
        }
        stage('Configure') {
            steps {
                sh 'meson setup build'
            }
        }
        stage('Compile') {
            steps {
                sh 'meson compile -C build'
            }
        }
    }
}
