-
-
Notifications
You must be signed in to change notification settings - Fork 20
27 lines (26 loc) · 801 Bytes
/
build.yml
File metadata and controls
27 lines (26 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
name: Build
on:
push:
branches:
- main
tags:
- "*"
pull_request:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly]
zookeeper: [3.9.4, 3.9.3, 3.9.2, 3.8.4, 3.7.2, 3.6.4, 3.5.10]
steps:
- name: Check out repository code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- run: rustup default ${{ matrix.rust }}
- run: wget -O zookeeper.tar.gz https://archive.apache.org/dist/zookeeper/zookeeper-${{ matrix.zookeeper }}/apache-zookeeper-${{ matrix.zookeeper }}-bin.tar.gz
- run: mkdir zookeeper
- run: tar -zxvf zookeeper.tar.gz -C zookeeper --strip-components 1
- run: ./scripts/ci-start-zookeeper
- run: cargo test