Skip to content

Commit

Permalink
Build against timely master
Browse files Browse the repository at this point in the history
Adds a crate and workflow to compile differential against timely master.

Signed-off-by: Moritz Hoffmann <[email protected]>
  • Loading branch information
antiguru committed Nov 12, 2024
1 parent 03b6ba4 commit 36dbf85
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test-timely-master.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Cargo.lock
/target
target
15 changes: 15 additions & 0 deletions timely_master/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "differential-dataflow-timely-master"
version = "0.0.0"
authors = ["Moritz Hoffmann <[email protected]>"]
license = "MIT"
edition = "2021"
publish = false

[workspace]

[dependencies]
differential-dataflow = { path = "../" }

[patch.crates-io]
timely = { git = "https://github.com/TimelyDataflow/timely-dataflow" }
1 change: 1 addition & 0 deletions timely_master/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//~ Empty

0 comments on commit 36dbf85

Please sign in to comment.