diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-15 13:54:13 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-15 13:54:46 -0700 |
commit | efd611ceb661a230f121797079376cdb4e831951 (patch) | |
tree | 2adacaf075c1570a43d5150c32c206a5abd27a3a /.github | |
parent | e6e23b92e3019e27471c9bf7a97db5f95e7a9a29 (diff) | |
download | ruby-efd611ceb661a230f121797079376cdb4e831951.tar.gz |
Revert "[ruby/yarp] rust: Initial yarp-sys"
This reverts commit e6e23b92e3019e27471c9bf7a97db5f95e7a9a29.
It seems like it wasn't added for ruby/ruby.
We could fix tool/sync_default_gems.rb to deal with this, but we have a
pull request that changes that part now, so let me only revert this for
now and revisit this after merging that pull request.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust-bindings.yml | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/.github/workflows/rust-bindings.yml b/.github/workflows/rust-bindings.yml deleted file mode 100644 index 80fa75bce5..0000000000 --- a/.github/workflows/rust-bindings.yml +++ /dev/null @@ -1,101 +0,0 @@ ---- -name: Rust Bindings - -on: - push: - paths: - - ".github/workflows/rust-bindings.yml" - - "include/" - - "src/" - - "rust/" - - "*akefile*" - branches: - - main - pull_request: - -env: - RUSTFLAGS: "-D warnings" - -jobs: - cargo-test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: head - bundler-cache: true - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} - restore-keys: | - ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }} - ${{ runner.os }}-cargo - - name: rake compile - run: bundle exec rake compile - - name: cargo test - working-directory: rust/yarp-sys - run: cargo test - - cargo-clippy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: head - bundler-cache: true - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} - restore-keys: | - ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }} - ${{ runner.os }}-cargo - - name: rake compile - run: bundle exec rake compile - - name: cargo clippy - working-directory: rust/yarp-sys - run: cargo clippy --tests -- -W "clippy::pedantic" - - sanitizer-test: - name: Test with -Zsanitizer=${{ matrix.sanitizer }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - sanitizer: [address, leak] - steps: - - uses: actions/checkout@v3 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: head - bundler-cache: true - - name: rake compile - run: bundle exec rake compile - - uses: dtolnay/rust-toolchain@nightly - with: - target: "x86_64-unknown-linux-gnu" - components: "rust-src" - - name: Test with sanitizer - env: - RUSTFLAGS: -Zsanitizer=${{ matrix.sanitizer }} - RUSTDOCFLAGS: -Zsanitizer=${{ matrix.sanitizer }} - # only needed by asan - ASAN_OPTIONS: detect_stack_use_after_return=1 - # Asan's leak detection occasionally complains - # about some small leaks if backtraces are captured, - # so ensure they're not - RUST_BACKTRACE: 0 - working-directory: rust/yarp-sys - run: cargo test -Zbuild-std --verbose --target=x86_64-unknown-linux-gnu |