Compare commits

..

No commits in common. "d0936c55492075c892fdfb66b2b46461bd66ed9a" and "81fed90c5ccfa3da1c2d9b7aebc63120a80640fd" have entirely different histories.

View file

@ -2,9 +2,9 @@ name: Rust
on: on:
push: push:
branches: ["main"] branches: [ "main" ]
pull_request: pull_request:
branches: ["main"] branches: [ "main" ]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -15,23 +15,13 @@ jobs:
env: env:
RUSTFLAGS: -D warnings RUSTFLAGS: -D warnings
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install Ruby - uses: ruby/setup-ruby@v1
env: with:
CC: clang ruby-version: '3.4'
run: | - name: Clippy
url="https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.4.tar.gz" run: cargo clippy --all-features --verbose -- -D warnings
mkdir ruby_src - name: Build
curl -sSL $url | tar -xz --directory=./ruby_src run: cargo build --all-features --verbose
cd ruby_src - name: Run tests
mkdir build && cd build run: cargo test --all-features --verbose
mkdir rubies
../configure --without-shared --prefix="${pwd}/rubies/ruby-3.4"
make install
echo `pwd`/rubies/ruby-3.4/ruby/bin >> $GITHUB_PATH
- name: Clippy
run: cargo clippy --all-features --verbose -- -D warnings
- name: Build
run: cargo build --all-features --verbose
- name: Run tests
run: cargo test --all-features --verbose