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

Add GitHub Action to test the code on Linux, macOS, and Windows #264

Merged
merged 14 commits into from
Mar 27, 2024

xvfb-run only on Linux

ff13705
Select commit
Loading
Failed to load commit list.
Merged

Add GitHub Action to test the code on Linux, macOS, and Windows #264

xvfb-run only on Linux
ff13705
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Mar 26, 2024 in 5m 54s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #264 Add GitHub Action to test the code.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in parallel.

Job Compiler ENV OS State
460.1 g++ GITHUB_TOKEN=[secure] Linux passed
460.2 g++ GITHUB_TOKEN=[secure] Linux passed

Build Configuration

Build Option Setting
Language C
Operating System Linux (Xenial)
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "git": {
    "submodules": true
  },
  "env": [
    "global=GITHUB_TOKEN=[secure]"
  ],
  "addons": {
    "apt": {
      "sources": [
        {
          "name": "ubuntu-toolchain-r-test"
        }
      ],
      "packages": [
        "xutils-dev",
        "libxi-dev",
        "libxxf86vm-dev",
        "x11proto-xf86vidmode-dev",
        "mesa-utils",
        "xvfb",
        "libgl1-mesa-dri",
        "libglapi-mesa",
        "libosmesa6",
        "musl-dev",
        "libgl1-mesa-dev"
      ]
    }
  },
  "before_install": [
    "./scripts/before_install.sh"
  ],
  "install": [
    "./scripts/install.sh"
  ],
  "before_script": [
    "ulimit -c unlimited -S",
    "ulimit -a"
  ],
  "script": [
    "./scripts/test.sh"
  ],
  "after_success": [
    "./scripts/after_success.sh"
  ],
  "jobs": {
    "include": [
      {
        "os": "linux",
        "sudo": true,
        "dist": "focal",
        "compiler": "g++",
        "env": [
          {
            "NODE_VERSION": "18"
          }
        ]
      },
      {
        "os": "linux",
        "sudo": true,
        "dist": "focal",
        "compiler": "g++",
        "env": [
          {
            "NODE_VERSION": "20"
          }
        ]
      }
    ]
  }
}