Commit graph

15 commits

Author SHA1 Message Date
Claudio Bley
0b7b88ca26 Disable Windows CI jobs
They fail with:

```
D:/a/colorls/colorls/vendor/bundle/ruby/3.0.0/gems/hpricot-0.8.6/ext/fast_xs
make.exe DESTDIR\=
generating fast_xs-x64-mingw32.def
compiling fast_xs.c
fast_xs.c: In function 'fast_xs':
fast_xs.c:165:46: error: passing argument 3 of 'rb_rescue' from incompatible
pointer type [-Wincompatible-pointer-types]
  165 |         array = rb_rescue(unpack_utf8, self, unpack_uchar, self);
      |                                              ^~~~~~~~~~~~
      |                                              |
|                                              VALUE (*)(VALUE) {aka long
long unsigned int (*)(long long unsigned int)}
```
2024-07-12 08:38:10 +02:00
Claudio Bley
6f7dedc950 Upgrade release-drafter to v6 2024-07-12 08:18:48 +02:00
Claudio Bley
073964975e Set permissions for release drafter workflow 2024-07-12 08:17:17 +02:00
Claudio Bley
8c73bd074c Explicitly use bash (for Windows) 2022-04-29 16:08:35 +02:00
Claudio Bley
7a88177ede CI: Add windows-latest to job matrix 2022-04-29 15:58:03 +02:00
Claudio Bley
cadb9b9558 CI: Run ruby workflow also on tag creation 2022-04-04 22:42:01 +02:00
Claudio Bley
88fc35e02f Integrate Release Drafter 2022-04-04 21:28:27 +02:00
Claudio Bley
f9dd1b44ef CI: Publish to RubyGems 2022-03-21 09:09:01 +01:00
Claudio Bley
61782997ca CI: Run workflow on push/pull_request to "main"
The default branch has been renamed (see #504) and this needs to change too.
2022-03-20 08:12:26 +01:00
Claudio Bley
a07810cb9d CI: Run shellcheck for test scripts 2022-02-28 09:17:26 +01:00
Claudio Bley
3995f3173c Drop support for Ruby 2.5
It reached EOL with release 2.5.9, and no longer receives patches.
2022-02-28 09:17:26 +01:00
Claudio Bley
1a0c82201f CI: Also run on macos-latest
Make the `test/run` script compatible to the ancient Bash version on macos.

```
test/run: line 56: conditional binary operator expected
```

Also, run `set -e` only for Bash >= 4. Otherwise the shell silently exits with
a failure when a command (expectedly) fails.

fix bogus test failure with Bash 3.2 on macos
2022-02-28 09:15:18 +01:00
Claudio Bley
d6d7cd76b7 Add script to check colorls flags
Fixes #488.
2022-02-18 11:33:17 +01:00
Claudio Bley
74adb532bf
Create ruby.yml
Use Github actions for CI

Integration with Travis CI (org) is broken for a few months already, and travis-ci.org is going to be shut down in favor of travis-ci.com which does not allow builds on macos freely.
2021-05-06 11:43:41 +02:00
dependabot-preview[bot]
4bc5d57496
Upgrade to GitHub-native Dependabot 2021-04-29 15:05:53 +00:00