Skip to content

Commit 489d997

Browse files
authored
Merge branch 'master' into classish_allowed
2 parents c7f15e8 + 10c6cc1 commit 489d997

53 files changed

Lines changed: 2580 additions & 295 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/c-check.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: C Code Generation and Formatting Check
22

33
on:
44
push:
5+
branches:
6+
- master
57
pull_request: {}
68
merge_group: {}
79

@@ -36,10 +38,10 @@ jobs:
3638
curl -L https://github.com/skvadrik/re2c/archive/refs/tags/4.3.tar.gz > re2c-4.3.tar.gz
3739
tar xf re2c-4.3.tar.gz
3840
cd re2c-4.3
39-
autoreconf -i -W all
40-
./configure
41-
make -j"$(nproc)" -l"$(nproc)"
42-
sudo make install
41+
cmake --preset=linux-gcc-release-ootree-skeleton-fast
42+
cmake --build --preset=linux-gcc-release-ootree-skeleton-fast --parallel="$(nproc)"
43+
sudo ln -sf "$(pwd)"/.build/linux-gcc-release-ootree-skeleton-fast/re2c /usr/local/bin/re2c
44+
re2c --version
4345
- name: Update rubygems & bundler
4446
run: |
4547
ruby -v

.github/workflows/comments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v6
1717
- uses: ruby/setup-ruby@v1
1818
with:
19-
ruby-version: "4.0.0"
19+
ruby-version: "4.0.1"
2020
bundler: none
2121
- name: Install dependencies
2222
run: |

.github/workflows/rust.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
paths:
9+
- ".github/workflows/rust.yml"
10+
- "rust/**"
11+
- "include/**"
12+
- "src/**"
13+
14+
env:
15+
RUSTFLAGS: "-D warnings"
16+
17+
jobs:
18+
test:
19+
name: cargo:test
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os: [ubuntu-latest, macos-latest, windows-latest]
25+
steps:
26+
- uses: actions/checkout@v6
27+
- name: Install Rust tools
28+
run: |
29+
rustup update --no-self-update stable
30+
rustup default stable
31+
- uses: actions/cache@v5
32+
with:
33+
path: |
34+
~/.cargo/registry
35+
~/.cargo/git
36+
rust/target
37+
key: ${{ runner.os }}-cargo-${{ hashFiles('rust/Cargo.lock') }}
38+
restore-keys: |
39+
${{ runner.os }}-cargo-
40+
- name: Run tests
41+
run: |
42+
cd rust
43+
cargo test --verbose
44+
45+
lint:
46+
name: cargo:lint
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v6
50+
- name: Install Rust tools
51+
run: |
52+
rustup update --no-self-update stable
53+
rustup default stable
54+
rustup component add --toolchain stable clippy rustfmt
55+
- uses: actions/cache@v5
56+
with:
57+
path: |
58+
~/.cargo/registry
59+
~/.cargo/git
60+
rust/target
61+
key: ${{ runner.os }}-cargo-${{ hashFiles('rust/Cargo.lock') }}
62+
restore-keys: |
63+
${{ runner.os }}-cargo-
64+
- name: Check formatting
65+
run: |
66+
cd rust
67+
cargo fmt --check
68+
- name: Run clippy
69+
run: |
70+
cd rust
71+
cargo clippy

.github/workflows/valgrind.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ on:
44
push:
55
branches:
66
- master
7-
paths:
8-
- "ext/**"
9-
- "include/**"
10-
- "src/**"
117
pull_request:
128
paths:
139
- "ext/**"
1410
- "include/**"
1511
- "src/**"
1612
merge_group: {}
13+
workflow_dispatch:
1714

1815
jobs:
1916
valgrind:

Gemfile.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ GEM
6363
bigdecimal (>= 3.1, < 5)
6464
language_server-protocol (3.17.0.5)
6565
lint_roller (1.1.0)
66-
listen (3.9.0)
66+
listen (3.10.0)
67+
logger
6768
rb-fsevent (~> 0.10, >= 0.10.3)
6869
rb-inotify (~> 0.9, >= 0.9.10)
6970
logger (1.7.0)
@@ -84,14 +85,14 @@ GEM
8485
racc (~> 1.4)
8586
ostruct (0.6.3)
8687
parallel (1.27.0)
87-
parser (3.3.10.0)
88+
parser (3.3.10.1)
8889
ast (~> 2.4.1)
8990
racc
9091
power_assert (3.0.1)
9192
pp (0.6.3)
9293
prettyprint
9394
prettyprint (0.2.0)
94-
prism (1.7.0)
95+
prism (1.8.0)
9596
pstore (0.2.0)
9697
psych (4.0.6)
9798
stringio
@@ -107,7 +108,7 @@ GEM
107108
rb-fsevent (0.11.2)
108109
rb-inotify (0.11.1)
109110
ffi (~> 1.0)
110-
rdoc (7.0.3)
111+
rdoc (7.1.0)
111112
erb
112113
psych (>= 4.0.0)
113114
tsort
@@ -141,7 +142,7 @@ GEM
141142
rubocop-ast (1.49.0)
142143
parser (>= 3.3.7.2)
143144
prism (~> 1.7)
144-
rubocop-on-rbs (1.8.0)
145+
rubocop-on-rbs (1.9.0)
145146
lint_roller (~> 1.1)
146147
rbs (~> 3.5)
147148
rubocop (>= 1.72.1, < 2.0)
@@ -173,7 +174,7 @@ GEM
173174
uri (>= 0.12.0)
174175
stringio (3.2.0)
175176
strong_json (2.1.2)
176-
strscan (3.1.6)
177+
strscan (3.1.7)
177178
tempfile (0.3.1)
178179
terminal-table (4.0.0)
179180
unicode-display_width (>= 1.1.1, < 4)

0 commit comments

Comments
 (0)