Skip to content

ci: remove windows #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: ["1.40.0", "stable"]
os: [ubuntu-latest, macos-latest]
toolchain: ["1.46.0", "stable"]

runs-on: ${{ matrix.os }}

Expand All @@ -24,13 +24,6 @@ jobs:
- name: Install FoundationDB
uses: Clikengo/foundationdb-actions-install@v1

- name: Install Clang
if: matrix.os == 'windows-latest'
run: |
curl -fsSL -o LLVM9.exe https://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe
7z x LLVM9.exe -y -o"C:/Program Files/LLVM"
echo "LIBCLANG_PATH=C:/Program Files/LLVM/bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Clikengo/foundationdb-rs/CI)](https://github.com/Clikengo/foundationdb-rs/actions)
[![Codecov](https://img.shields.io/codecov/c/github/Clikengo/foundationdb-rs)](https://codecov.io/gh/Clikengo/foundationdb-rs)
![Rustc 1.40+](https://img.shields.io/badge/rustc-1.40+-lightgrey)
![Rustc 1.46+](https://img.shields.io/badge/rustc-1.46+-lightgrey)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=Clikengo/foundationdb-rs)](https://dependabot.com)

# FoundationDB Rust Client
Expand All @@ -13,7 +13,7 @@ The repo consists of multiple crates
| [**foundationdb-sys**](foundationdb-sys/README.md) | [![Crates.io](https://img.shields.io/crates/v/foundationdb-sys)](https://crates.io/crates/foundationdb-sys) [![foundationdb-sys](https://docs.rs/foundationdb-sys/badge.svg)](https://docs.rs/foundationdb-sys) | C API bindings for FoundationDB |
| **foundationdb-gen** | n/a | Code generator for common options and types of FoundationDB |

The current version requires rustc 1.40+ to work (async/await feature).
The current version requires rustc 1.46+ to work.
The previous version (0.3) is still maintained and is available within the 0.3 branch.

You can access the `master` branch documentation [here](https://clikengo.github.io/foundationdb-rs/foundationdb/index.html).
Expand Down
2 changes: 1 addition & 1 deletion foundationdb-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ futures = "0.3.0"
log = "0.4.8"
rand = "0.7.2"
stopwatch = "0.0.7"
structopt = "0.3.3"
structopt = "0.3.12"
2 changes: 1 addition & 1 deletion foundationdb-bindingtester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ foundationdb-sys = { version = "0.5.1", path = "../foundationdb-sys", default-fe
futures = "0.3.0"
log = "0.4.8"
num-bigint = "0.3.0"
structopt = "0.3.3"
structopt = "0.3.12"
2 changes: 1 addition & 1 deletion foundationdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is a wrapper library around the FoundationDB (Fdb) C API. It implements fut

## Prerequisites

Rust 1.40+
Rust 1.46+

### Install FoundationDB

Expand Down
6 changes: 3 additions & 3 deletions scripts/run_bindingtester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ esac
## Run the test
echo "testers['rust'] = Tester('rust', '${bindingtester}', 2040, 23, MAX_API_VERSION, types=ALL_TYPES)
" >> ./bindings/bindingtester/known_testers.py
./bindings/bindingtester/bindingtester.py --test-name scripted rust
./bindings/bindingtester/bindingtester.py --num-ops 1000 --api-version 610 --test-name api --compare python rust
./bindings/bindingtester/bindingtester.py --num-ops 1000 --api-version 610 --test-name api --concurrency 5 rust
python2 ./bindings/bindingtester/bindingtester.py --test-name scripted rust
python2 ./bindings/bindingtester/bindingtester.py --num-ops 1000 --api-version 610 --test-name api --compare python rust
python2 ./bindings/bindingtester/bindingtester.py --num-ops 1000 --api-version 610 --test-name api --concurrency 5 rust
)