Skip to content

Commit

Permalink
Merge branch 'main' into peer-set2
Browse files Browse the repository at this point in the history
  • Loading branch information
Boog900 committed May 14, 2024
2 parents 6d3096e + d0ac94a commit cbb629d
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 2,617 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ on:
workflow_dispatch:

env:
# Show colored output in CI.
CARGO_TERM_COLOR: always
# Show full panics.
RUST_BACKTRACE: "full"
# Increase thread stack size to 8 megabytes.
RUST_MIN_STACK: 8000000
# Fail on documentation warnings.
RUSTDOCFLAGS: '-D warnings'
# Enable debug information generation for build dependencies.
CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG: true

jobs:
# Run format separately.
Expand Down Expand Up @@ -53,6 +56,8 @@ jobs:
include:
- os: windows-latest
shell: msys2 {0}
# GNU Windows is used as we need
# `unistd.h` and more in `cryptonight/`.
rust: stable-x86_64-pc-windows-gnu
- os: macos-latest
shell: bash
Expand Down Expand Up @@ -105,6 +110,19 @@ jobs:
update: true
install: mingw-w64-x86_64-toolchain mingw-w64-x86_64-boost msys2-runtime-devel git mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja

# HACK: 2024-05-14
# GCC 14+ fails to build `lmdb-master-sys` with no clear error message:
# <https://github.com/Cuprate/cuprate/pull/127>
#
# - MSYS2 repos carry older versions of packages
# - pacman lets us manually downgrade from package files
# - Note that `gcc` requires `gcc-libs`
- name: Downgrade to GCC 13.2 (Windows)
if: matrix.os == 'windows-latest'
run: |
wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-13.2.0-6-any.pkg.tar.zst https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-13.2.0-6-any.pkg.tar.zst
pacman -U --noconfirm mingw-w64-x86_64-gcc-13.2.0-6-any.pkg.tar.zst mingw-w64-x86_64-gcc-libs-13.2.0-6-any.pkg.tar.zst
- name: Documentation
run: cargo doc --workspace --all-features --no-deps

Expand Down
33 changes: 0 additions & 33 deletions old_database/Cargo.toml

This file was deleted.

14 changes: 0 additions & 14 deletions old_database/LICENSE

This file was deleted.

78 changes: 0 additions & 78 deletions old_database/src/encoding.rs

This file was deleted.

53 changes: 0 additions & 53 deletions old_database/src/error.rs

This file was deleted.

11 changes: 0 additions & 11 deletions old_database/src/hse.rs

This file was deleted.

Loading

0 comments on commit cbb629d

Please sign in to comment.