Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute Meson build system #397

Merged
merged 1 commit into from
Feb 25, 2024

Distribute Meson build system

9c92dc6
Select commit
Loading
Failed to load commit list.
Merged

Distribute Meson build system #397

Distribute Meson build system
9c92dc6
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Feb 24, 2024 in 10m 7s

Build Passed

The build passed.

Details

This is a normal build for the shiti-meson branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has two jobs, running in parallel.

Job ENV OS State
602.1 DISTRO="debian:testing" Linux passed
602.2 DISTRO="fedora:latest" Linux passed

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Jammy)
Build Configuration
{
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "services": [
    "docker"
  ],
  "addons": {
    "apt": {
      "packages": [
        "python3-pip",
        "python3-setuptools"
      ]
    }
  },
  "branches": {
    "except": [
      "gh-pages"
    ]
  },
  "before_install": [
    "curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build",
    "curl -Ls -o gen-index https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/gen-index.sh",
    "chmod +x docker-build gen-index"
  ],
  "install": [
    "pip3 install PyGithub",
    "./docker-build --name ${DISTRO} --config .build.yml --install"
  ],
  "script": [
    "./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts"
  ],
  "notifications": {
    "irc": [
]

},
"deploy": [
{
"provider": "pages",
"strategy": "git",
"edge": true,
"token": "$GITHUB_TOKEN",
"keep_history": false,
"committer_from_gh": true,
"target_branch": "gh-pages",
"local_dir": "html-report",
"on": {
"all_branches": true,
"condition": [
"${DISTRO} =~ ^fedora.$"
]
}
},
{
"provider": "script",
"edge": true,
"script": "./docker-build --verbose --config .build.yml --release github",
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^v.$ && ${DISTRO} =~ ^fedora.$"
]
}
}
],
"after_success": [
"if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_PULL_REQUEST" != "false" && ${DISTRO} =~ ^fedora.$ ]]; then REPO_SLUG_ARRAY=(${TRAVIS_REPO_SLUG//\// }); REPO_NAME=${REPO_SLUG_ARRAY[1]}; URL="https://${REPO_NAME}.mate-desktop.dev"; COMMENT="Code analysis completed"; curl -H "Authorization: token $GITHUB_TOKEN" -X POST -d "{\"state\": \"success\", \"description\": \"$COMMENT\", \"context\":\"scan-build\", \"target_url\": \"$URL\"}" https://api.github.com/repos/${TRAVIS_REPO_SLUG}/statuses/${TRAVIS_PULL_REQUEST_SHA}; fi"
],
"env": [
"jobs={:DISTRO=>"\"debian:testing\""}={:DISTRO=>"\"fedora:latest\""}"
]
}