Skip to content

Merge

Merge #88

Workflow file for this run

name: Merge
on:
push:
schedule:
- cron: "0 10 * * *"
env:
CARGO_TERM_COLOR: always
concurrency:
group: "${{ github.ref }}-${{ github.workflow }}"
cancel-in-progress: true
jobs:
lint_libsawtooth:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Display envvars
run: env
- name: Print rustc version
run: rustc --version
- name: Install wasm32-unknown-unknown
run: rustup target add wasm32-unknown-unknown
- name: Install apt packages
run: sudo apt install -y libzmq3-dev
- name: Install Just
run: curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | sudo bash -s -- --to /usr/local/bin
- name: Install protoc
run: |
curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
rm protoc-3.5.1-linux-x86_64.zip
- name: Lint libsawtooth
run: PATH=$PATH:$(pwd)/protoc3/bin just lint
- name: Build libsawtooth
run: PATH=$PATH:$(pwd)/protoc3/bin just build
test_libsawtooth:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Display envvars
run: env
- name: Print rustc version
run: rustc --version
- name: Install apt packages
run: sudo apt install -y libzmq3-dev
- name: Install Just
run: curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | sudo bash -s -- --to /usr/local/bin
- name: Install protoc
run: |
curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
rm protoc-3.5.1-linux-x86_64.zip
- name: Test libsawtooth
run: PATH=$PATH:$(pwd)/protoc3/bin just test