| shell_commands: &shell_commands |
| - curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl |
| - chmod a+x kerl |
| - ./kerl update releases |
| - ./kerl build ${ERLANG_VERSION} |
| - ./kerl install ${ERLANG_VERSION} ~/kerl/${ERLANG_VERSION} |
| - . ~/kerl/${ERLANG_VERSION}/activate |
| - cd ~ |
| - curl -LO https://github.com/elixir-lang/elixir/releases/download/v1.17.2/elixir-otp-26.zip |
| - mkdir elixir-otp-26 |
| - unzip elixir-otp-26.zip -d elixir-otp-26 |
| - ~/elixir-otp-26/bin/iex --version |
| |
| matrix: |
| bazel: |
| - 7.x |
| tasks: |
| verify_targets_macos: |
| name: Verify build targets (macos) |
| platform: macos |
| bazel: ${{ bazel }} |
| environment: |
| ERLANG_VERSION: "26.2" |
| ERLANG_HOME: /Users/buildkite/kerl/26.2 |
| ELIXIR_HOME: /Users/buildkite/elixir-otp-26 |
| shell_commands: *shell_commands |
| build_flags: |
| - --incompatible_strict_action_env |
| build_targets: |
| - '@rules_elixir//...' |
| verify_targets_ubuntu: |
| name: Verify build targets (ubuntu2004) |
| platform: ubuntu2004 |
| bazel: ${{ bazel }} |
| environment: |
| ERLANG_VERSION: "26.2" |
| ERLANG_HOME: /var/lib/buildkite-agent/kerl/26.2 |
| ELIXIR_HOME: /var/lib/buildkite-agent/elixir-otp-26 |
| shell_commands: *shell_commands |
| build_flags: |
| - --incompatible_strict_action_env |
| build_targets: |
| - '@rules_elixir//...' |