diff --git a/.github/workflows/test-external.yaml b/.github/workflows/test-external.yaml index e5f52f69..957ce400 100644 --- a/.github/workflows/test-external.yaml +++ b/.github/workflows/test-external.yaml @@ -25,7 +25,7 @@ jobs: - "3.2" - "3.3" - "head" - + steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fa1e3606..d4de9580 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -50,6 +50,10 @@ jobs: ruby-version: ${{matrix.ruby}} bundler-cache: true + - name: Install packages (Ubuntu) + if: matrix.os == 'ubuntu' + run: sudo apt-get install -y liburing-dev + - name: Run tests timeout-minutes: 10 run: bundle exec bake build test diff --git a/ext/io/event/selector/uring.c b/ext/io/event/selector/uring.c index 45002f8a..80640649 100644 --- a/ext/io/event/selector/uring.c +++ b/ext/io/event/selector/uring.c @@ -602,7 +602,7 @@ static inline off_t io_seekable(int descriptor) { return -1; } #else -#warning Upgrade your kernel to 5.16! io_uring bugs prevent efficient io_read/io_write hooks. +#warning Upgrade your kernel to 5.16+! io_uring bugs prevent efficient io_read/io_write hooks. static inline off_t io_seekable(int descriptor) { if (lseek(descriptor, 0, SEEK_CUR) == -1) {