Skip to content

Publish binaries to Build Artifact Platform #1682

Publish binaries to Build Artifact Platform

Publish binaries to Build Artifact Platform #1682

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
rustfmt:
# Only run rustfmt on pull requests. We want to allow people to
# ignore rustfmt if they think it's not helpful.
if: "github.event_name == 'pull_request'"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run rustmt
run: cargo fmt --check
build_test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build docker image
run: >
docker build
-t below
--target build
.
- name: Run tests
# Skip tests that require host to have cgroup2
run: >
docker run below
/root/.cargo/bin/cargo test
--release
--
--skip test_dump
--skip advance_forward_and_reverse
--skip disable_disk_stat
--skip disable_io_stat
--skip record_replay_integration