Skip to content

Build the NIF on Windows with Zig - #27

Open
misterjohannesson wants to merge 4 commits into
silviucpp:masterfrom
it-minds:win32-zig
Open

misterjohannesson wants to merge 4 commits into
silviucpp:masterfrom
it-minds:win32-zig

Say something every half minute while libc++ builds

19eaefd
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Sep 19, 2026 in 18m 18s

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 #27 Build the NIF on Windows with Zig.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in parallel.

Job OTP Release OS State
90.1 27.0 Linux passed
90.2 26.1.1 Linux passed
90.3 26.1.1 Linux passed
90.4 windows passed

Build Configuration

Build Option Setting
Language Erlang
Operating System Linux (Focal)
Build Configuration
{
  "language": "erlang",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "before_script": [
    "if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get -y update || true ; fi",
    "if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y g++ make cmake || true ; fi",
    "curl https://s3.amazonaws.com/rebar3/rebar3 --output rebar3 && chmod +x rebar3"
  ],
  "script": [
    "./rebar3 compile"
  ],
  "after_success": [
    "./rebar3 ct"
  ],
  "jobs": {
    "include": [
      {
        "os": "linux",
        "dist": "focal",
        "otp_release": "27.0"
      },
      {
        "os": "linux",
        "dist": "jammy",
        "otp_release": "26.1.1"
      },
      {
        "os": "linux",
        "dist": "noble",
        "otp_release": "26.1.1"
      },
      {
        "os": "windows",
        "language": "shell",
        "before_install": [
          "choco install -y --no-progress erlang zig",
          "export PATH=\"$PATH:$(ls -d '/c/Program Files/Erlang OTP'* '/c/Program Files/erl'* 2>/dev/null | head -1)/bin\"",
          "erl -noshell -eval 'io:format(\"~s~n\",[erlang:system_info(system_architecture)]),halt().'",
          "zig version"
        ],
        "script": [
          "./rebar3 compile",
          "./rebar3 ct"
        ],
        "after_success": [
          "true"
        ]
      }
    ]
  }
}