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

Pitchfork #829

Merged
merged 25 commits into from
Mar 11, 2024

Bump koinos-cmake

de4994f
Select commit
Loading
Failed to load commit list.
Merged

Pitchfork #829

Bump koinos-cmake
de4994f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Mar 11, 2024 in 1h 15m 42s

Build Passed

The build passed, just like the previous build.

Details

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

Jobs and Stages

This build has six jobs, running in parallel.

Job ENV OS State
2441.1 Static Analysis CMAKE_C_COMPILER_LAUNCHER=ccache Linux passed
2441.2 Sanitizer CMAKE_C_COMPILER_LAUNCHER=ccache Linux passed
2441.3 Coverage CMAKE_C_COMPILER_LAUNCHER=ccache Linux passed
2441.4 GCC Unit Tests CMAKE_C_COMPILER_LAUNCHER=ccache Linux passed
2441.5 Clang Unit Tests and Formatting CMAKE_C_COMPILER_LAUNCHER=ccache Linux passed
2441.6 Docker and Integration Tests CMAKE_C_COMPILER_LAUNCHER=ccache Linux passed

Build Configuration

Build Option Setting
Language C++
Operating System Linux (Xenial)
Build Configuration
{
  "language": "cpp",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "cache": {
    "ccache": true
  },
  "addons": {
    "apt": {
      "update": true,
      "packages": [
        "clang",
        "clang-format",
        "llvm",
        "llvm-dev",
        "lcov",
        "ruby",
        "gcc-12",
        "g++-12",
        "golang-go"
      ]
    }
  },
  "env": [
    "global={:CMAKE_C_COMPILER_LAUNCHER=>\"ccache\"}={:CMAKE_CXX_COMPILER_LAUNCHER=>\"ccache\"}"
  ],
  "jobs": {
    "include": [
      {
        "name": "Static Analysis",
        "os": "linux",
        "dist": "jammy",
        "env": [
          {
            "CC": "clang"
          },
          {
            "CXX": "clang++"
          }
        ],
        "before_script": [
          "cmake -DCMAKE_BUILD_TYPE=Debug -DSTATIC_ANALYSIS=ON ."
        ],
        "script": [
          "cmake --build . --config Debug --parallel 3"
        ]
      },
      {
        "name": "Sanitizer",
        "os": "linux",
        "dist": "jammy",
        "env": [
          {
            "CC": "clang"
          },
          {
            "CXX": "clang++"
          }
        ],
        "before_script": [
          "mkdir build-address",
          "pushd build-address",
          "cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZER=Address ..",
          "cmake --build . --config Debug --parallel 3",
          "popd",
          "mkdir build-stack",
          "pushd build-stack",
          "cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZER=Stack ..",
          "cmake --build . --config Debug --parallel 3",
          "popd",
          "mkdir build-thread",
          "pushd build-thread",
          "cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZER=Thread ..",
          "cmake --build . --config Debug --parallel 3",
          "popd"
        ],
        "script": [
          "pushd build-address/tests",
          "ctest -j1 --output-on-failure",
          "popd",
          "pushd build-stack/tests",
          "ctest -j1 --output-on-failure",
          "popd",
          "pushd build-thread/tests",
          "ctest -j1 --output-on-failure"
        ]
      },
      {
        "name": "Coverage",
        "os": "linux",
        "dist": "jammy",
        "env": [
          {
            "CC": "clang"
          },
          {
            "CXX": "clang++"
          }
        ],
        "install": [
          "sudo gem install coveralls-lcov"
        ],
        "before_script": [
          "mkdir build",
          "cd build",
          "cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .."
        ],
        "script": [
          "cmake --build . --config Debug --parallel 3 --target coverage"
        ],
        "after_success": [
          "coveralls-lcov --repo-token $COVERALLS_REPO_TOKEN --service-name travis-pro --service-job-id $TRAVIS_JOB_ID ./coverage.info"
        ]
      },
      {
        "name": "GCC Unit Tests",
        "os": "linux",
        "dist": "jammy",
        "env": [
          {
            "CC": "gcc-12"
          },
          {
            "CXX": "g++-12"
          }
        ],
        "before_script": [
          "cmake -DCMAKE_BUILD_TYPE=Release .",
          "cmake --build . --config Release --parallel 3"
        ],
        "script": [
          "cd tests",
          "ctest -j3 --output-on-failure"
        ]
      },
      {
        "name": "Clang Unit Tests and Formatting",
        "os": "linux",
        "dist": "jammy",
        "env": [
          {
            "CC": "clang"
          },
          {
            "CXX": "clang++"
          }
        ],
        "before_script": [
          "cmake -DCMAKE_BUILD_TYPE=Release .",
          "cmake --build . --config Release --parallel 3"
        ],
        "script": [
          "cmake --build . --config Release --parallel 3 --target format.check",
          "cd tests",
          "ctest -j3 --output-on-failure"
        ]
      },
      {
        "name": "Docker and Integration Tests",
        "os": "linux",
        "dist": "jammy",
        "services": [
          "docker"
        ],
        "env": [
          {
            "TAG": "`if [ $TRAVIS_BRANCH == \"master\" ]; then echo -n latest; else echo -n $TRAVIS_BRANCH; fi`"
          },
          {
            "CHAIN_TAG": "$TAG"
          }
        ],
        "install": [
          "git clone https://github.com/koinos/koinos-integration-tests.git",
          "pushd koinos-integration-tests",
          "go get ./...",
          "popd"
        ],
        "before_script": [
          "cp -R ~/.ccache ./ccache",
          "docker build . -t build --target builder",
          "docker build . -t $TRAVIS_REPO_SLUG:$TAG",
          "docker run -td --name extract-ccache build",
          "docker cp extract-ccache:/build/.ccache ~/.ccache"
        ],
        "script": [
          "pushd koinos-integration-tests",
          "./run.sh"
        ],
        "after_success": [
          "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then\n  echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin\n  docker push $TRAVIS_REPO_SLUG:$TAG\nfi\n"
        ]
      }
    ]
  },
  "notifications": {
    "slack": [
      {
        "rooms": [
          {
            "secure": "jA1UWnXRjaqTxqPDNhQhZXAk7mC7xLAuI6NLSFPh+ybYv+goM1wefZp6IkdX5u1EHB0UCF4jbmczQxjVEhvBCBx8sy9DmxFICfjDtbsEnHksRsROpKPePF4DTwZMsjKn5+oPF7fBHr0ShzpdcZ7rmbFWQnfXI6Bin6znDV6xd8XNV5jI26FAaL0eIQd/+bjKHpDCDRzu2MJY44+Awpf0tbdwfWqj9EZ9SHl1wMsyvp1BSOlOtErEiv0EUWjmM1VTE2nPYzn2N7YoRv6nwtTpqJ+Y1xgm0mJ0DtV39xyo4+AhyxJAoJqkjkrP5AIepUyz+1o+m/4j/98FjfTi3JugMOzWAJqiAyWLVJG74W7Zs3h+M+W+eRSDhMfybgwEWz2+IFrP0Re9C7XI+KGLLAZ734lzESNKs6grisIRnk226YawffeDMJ/zT1uyWs3VIw9TuXI/0SnSnE+Gno0Xbho37jTT1lqRHsrMRzbC44rF+dBqMJE+m70naHj9MrR+0fHNGct19X73nDadIJeJNlMdV5OgddxLvCZL7RsD8c1MDQDWrASfConS6P/TPVsYeLxia3uSl8NoXwSRX7+j91bQnI0YFzpgKyJdYE2WtNJULgqOTftKr+7orzMqMqjBNdlRhsB7Yh6pepKWbLX1N1N3UoDhtia9JoWz04vQcq2l42w="
          }
        ],
        "on_success": "never"
      }
    ]
  }
}