From 548ad196cc83dd9506b735620393171c7e1189b8 Mon Sep 17 00:00:00 2001 From: Moritz Hoffmann Date: Mon, 11 Nov 2024 13:26:51 +0100 Subject: [PATCH] Build against timely master Adds a crate and workflow to compile differential against timely master. Signed-off-by: Moritz Hoffmann --- .github/workflows/test-timely-master.yml | 25 ++++++++++++++++++++++++ .gitignore | 2 +- timely_master/Cargo.toml | 15 ++++++++++++++ timely_master/src/lib.rs | 1 + 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test-timely-master.yml create mode 100644 timely_master/Cargo.toml create mode 100644 timely_master/src/lib.rs diff --git a/.github/workflows/test-timely-master.yml b/.github/workflows/test-timely-master.yml new file mode 100644 index 0000000000..bb24bcccec --- /dev/null +++ b/.github/workflows/test-timely-master.yml @@ -0,0 +1,25 @@ +name: "Test build against Timely master" +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + +jobs: + test: + strategy: + matrix: + os: + - ubuntu + toolchain: + - stable + name: cargo test on ${{ matrix.os }}, rust ${{ matrix.toolchain }} + runs-on: ${{ matrix.os }}-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ matrix.toolchain }} + - name: Cargo test against Timely master + run: cd timely_master && cargo test diff --git a/.gitignore b/.gitignore index 06aba01b65..fa8d85ac52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ Cargo.lock -/target +target diff --git a/timely_master/Cargo.toml b/timely_master/Cargo.toml new file mode 100644 index 0000000000..8e5fc587ba --- /dev/null +++ b/timely_master/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "differential-dataflow-timely-master" +version = "0.0.0" +authors = ["Moritz Hoffmann "] +license = "MIT" +edition = "2021" +publish = false + +[workspace] + +[dependencies] +differential-dataflow = { path = "../" } + +[patch.crates-io] +timely = { git = "https://github.com/TimelyDataflow/timely-dataflow" } diff --git a/timely_master/src/lib.rs b/timely_master/src/lib.rs new file mode 100644 index 0000000000..197cc710b8 --- /dev/null +++ b/timely_master/src/lib.rs @@ -0,0 +1 @@ +//~ Empty