Skip to content

Commit 14b4b2b

Browse files
committed
Merge remote-tracking branch 'origin/main' into wasm_gem
2 parents f22c70c + 625d6e5 commit 14b4b2b

58 files changed

Lines changed: 938 additions & 303 deletions

Some content is hidden

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

.github/dependabot.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ updates:
2626
- '/gemfiles/3.4'
2727
- '/gemfiles/4.0'
2828
- '/gemfiles/4.1'
29-
- '/gemfiles/typecheck'
29+
# - '/gemfiles/typecheck'
3030
schedule:
3131
interval: 'weekly'
3232
groups:
3333
ruby-deps:
3434
patterns:
3535
- "*"
36-
ignore:
37-
- dependency-name: "sorbet"
38-
- dependency-name: "tapioca"

.github/workflows/build-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ jobs:
3737
if: github.event_name == 'release'
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
uses: softprops/action-gh-release@v2
40+
uses: softprops/action-gh-release@v3
4141
with:
4242
files: build/libprism-src.tar.gz

.github/workflows/cpp-bindings.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: C++ bindings
22

33
on:
44
push:
5-
paths:
5+
paths: &paths
66
- ".github/workflows/cpp-bindings.yml"
7-
- "include/"
8-
- "src/"
9-
- "cpp/"
7+
- "include/**"
8+
- "src/**"
9+
- "cpp/**"
1010
- "*akefile*"
1111
branches:
1212
- main
1313
- ruby-4.0
1414
pull_request:
15+
paths: *paths
1516

1617
jobs:
1718
test:

.github/workflows/cruby-bindings.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
ruby tool/downloader.rb -d tool -e gnu config.guess config.sub
5252
autoconf
53-
./configure -C --disable-install-doc --with-parser=${{ matrix.parser }}
53+
./configure -C --disable-install-doc --with-parser=${{ matrix.parser }} --with-gcc 'debugflags=-save-temps=obj -g'
5454
make -j$(nproc)
5555
working-directory: ruby/ruby
5656
- name: make test-all
@@ -59,3 +59,11 @@ jobs:
5959
EXCLUDES: ${{ matrix.parser == 'parse.y' && './test/.excludes-parsey' }}
6060
run: make -j$(nproc) -s test-all
6161
working-directory: ruby/ruby
62+
63+
- name: Update depend files
64+
run: make fix-depends
65+
working-directory: ruby/ruby
66+
- name: Check depend is up-to-date
67+
run: git diff --color --no-ext-diff --ignore-submodules --exit-code -- depend
68+
working-directory: ruby/ruby
69+

.github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
cargo doc --no-deps --target-dir ../doc/rust
5959
working-directory: rust
6060
- name: Upload artifact
61-
uses: actions/upload-pages-artifact@v4
61+
uses: actions/upload-pages-artifact@v5
6262
with:
6363
path: doc
6464

.github/workflows/java-wasm-bindings.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: Java WASM bindings
22

33
on:
44
push:
5-
paths:
5+
paths: &paths
66
- ".github/workflows/java-wasm-bindings.yml"
7-
- "include/"
8-
- "src/"
7+
- "include/**"
8+
- "src/**"
99
- "*akefile*"
10-
- "java/"
11-
- "java/wasm/"
10+
- "java/**"
11+
- "java/wasm/**"
1212
branches:
1313
- main
1414
- ruby-4.0
1515
pull_request:
16+
paths: *paths
1617

1718
jobs:
1819
build-wasm:

.github/workflows/javascript-bindings.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ name: JavaScript bindings
22

33
on:
44
push:
5-
paths:
5+
paths: &paths
66
- ".github/workflows/javascript-bindings.yml"
7-
- "include/"
8-
- "src/"
7+
- "include/**"
8+
- "src/**"
99
- "*akefile*"
1010
branches:
1111
- main
1212
- ruby-4.0
1313
pull_request:
14+
paths: *paths
1415

1516
jobs:
1617
build:

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
with:
5252
ruby-version: "3.4"
5353
bundler-cache: true
54-
# - name: Check Sorbet
55-
# run: bundle exec rake typecheck:tapioca typecheck:sorbet
54+
- name: Check Sorbet
55+
run: bundle exec rake typecheck:tapioca typecheck:sorbet
5656
- name: Check Steep
5757
run: bundle exec rake typecheck:steep
5858
- name: Check field kinds
@@ -174,6 +174,18 @@ jobs:
174174
env:
175175
PRISM_BUILD_MINIMAL: "1"
176176

177+
build-with-various-compilers:
178+
runs-on: ubuntu-latest
179+
steps:
180+
- uses: actions/checkout@v6
181+
- name: Set up Ruby
182+
uses: ruby/setup-ruby@v1
183+
with:
184+
ruby-version: ruby
185+
bundler-cache: true
186+
- name: Build with various compilers
187+
run: bundle exec rake build_in_docker
188+
177189
build-java:
178190
runs-on: ubuntu-latest
179191
env:

.github/workflows/rust-bindings.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@ name: Rust bindings
22

33
on:
44
push:
5-
paths:
5+
paths: &paths
66
- ".github/workflows/rust-bindings.yml"
7-
- "include/"
8-
- "src/"
9-
- "rust/"
7+
- "include/**"
8+
- "src/**"
9+
- "rust/**"
1010
- "*akefile*"
1111
branches:
1212
- main
1313
- ruby-4.0
1414
pull_request:
15+
paths: *paths
1516

1617
env:
1718
RUSTFLAGS: "-D warnings"

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ out.svg
6161
/src/serialize.c
6262
/src/tokens.c
6363
/src/**/*.o
64-
/rbi/prism/dsl.rbi
65-
/rbi/prism/node.rbi
66-
/rbi/prism/visitor.rbi
6764

6865
compile_commands.json
6966
.cache/

0 commit comments

Comments
 (0)