forked from crystal-lang/crystal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/enumerable-to_set-block
- Loading branch information
Showing
1,060 changed files
with
62,384 additions
and
22,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Sources | ||
|
||
*.cr text eol=lf | ||
|
||
## Sourced-in dependencies | ||
|
||
lib/** linguist-vendored | ||
|
||
## Generated files | ||
|
||
# produced by scripts/generate_windows_zone_names.cr | ||
src/crystal/system/win32/zone_names.cr linguist-generated | ||
# produced by scripts/generate_html_entities.cr | ||
src/html/entities.cr linguist-generated | ||
# produced by scripts/generate_ssl_server_defaults.cr | ||
src/openssl/ssl/defaults.cr linguist-generated | ||
# produced by scripts/generate_grapheme_properties.cr | ||
src/string/grapheme/properties.cr linguist-generated | ||
# produced by scripts/generate_unicode_data.cr | ||
src/unicode/data.cr linguist-generated | ||
# produced by spec/generate_interpreter_spec.sh | ||
spec/interpreter_std_spec.cr linguist-generated | ||
# produced by scripts/generate_grapheme_break_specs.cr | ||
spec/std/string/grapheme_break_spec.cr linguist-generated | ||
# produced by spec/generate_wasm32_spec.sh | ||
spec/wasm32_std_spec.cr linguist-generated | ||
|
||
## Syntax highlighting | ||
|
||
Makefile.win linguist-language=makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base"], | ||
"separateMajorMinor": false, | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["docker"], | ||
"enabled": false | ||
}, | ||
{ | ||
"groupName": "GH Actions", | ||
"matchManagers": ["github-actions"], | ||
"schedule": ["after 5am and before 8am on Wednesday"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Interpreter Test | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | ||
|
||
env: | ||
SPEC_SPLIT_DOTS: 160 | ||
|
||
jobs: | ||
test-interpreter_spec: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: crystallang/crystal:1.10.1-build | ||
name: "Test Interpreter" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Test interpreter_spec | ||
run: make interpreter_spec junit_output=.junit/interpreter_spec.xml | ||
|
||
build-interpreter: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: crystallang/crystal:1.10.1-build | ||
name: Build interpreter | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build compiler | ||
run: make interpreter=1 release=1 | ||
|
||
- name: Upload compiler artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: crystal-interpreter | ||
path: | | ||
.build/crystal | ||
test-interpreter-std_spec: | ||
needs: build-interpreter | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: crystallang/crystal:1.10.1-build | ||
strategy: | ||
matrix: | ||
part: [0, 1, 2, 3] | ||
name: "Test std_spec with interpreter (${{ matrix.part }})" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download compiler artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: crystal-interpreter | ||
path: .build/ | ||
|
||
- name: Mark downloaded compiler as executable | ||
run: chmod +x .build/crystal | ||
|
||
- name: Run std_spec with interpreter | ||
run: SPEC_SPLIT="${{ matrix.part }}%4" bin/crystal i spec/interpreter_std_spec.cr -- --junit_output .junit/interpreter-std_spec.${{ matrix.part }}.xml |
Oops, something went wrong.