-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 sk/hash_uint
- Loading branch information
Showing
2,396 changed files
with
298,052 additions
and
181,349 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 @@ | ||
main |
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,2 @@ | ||
CompileFlags: | ||
Add: [-I., -I.., -Iflisp, -Isupport, -I../support, -I../usr/include, -I../../usr/include, -Wall,] |
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,4 @@ | ||
coverage: | ||
status: | ||
project: off | ||
patch: off |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
{ | ||
"extensions": [ | ||
"julialang.language-julia", | ||
"ms-vscode.cpptools" | ||
], | ||
|
||
"dockerFile": "Dockerfile" | ||
"image": "docker.io/library/julia:latest", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"julialang.language-julia", | ||
"ms-vscode.cpptools" | ||
] | ||
} | ||
}, | ||
"onCreateCommand": "apt-get update && apt-get install -y build-essential libatomic1 python3 gfortran perl wget m4 cmake pkg-config git" | ||
} |
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,13 @@ | ||
# .git-blame-ignore-revs | ||
# whitespace: end text files with single newlines | ||
3903fa54a638d4546ef50e56f91f0705a8ab11ef | ||
# whitespace: use only UNIX line endings (\n) | ||
e66bfa5dd32f93e76068c00ad882c1fc839c5af8 | ||
# whitespace: replace non-breaking space => space | ||
100a741e7ab38c91d48cc929bb001afc8e09261f | ||
# whitespace: replace tabs => space | ||
b03e8ab9c7bd3e001add519571858fa04d6a249b | ||
# whitespace: replace 2-space => 4-space for indentation | ||
f1b567507731129f90ca0dffc8fbc0ed98b6a15d | ||
# whitespace: replace multiple spaces after period with a single space | ||
f942c29bb0d02cc24f19712c642ac72ffc85a26b |
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,6 @@ | ||
CODEOWNERS @JuliaLang/github-actions | ||
/.github/ @JuliaLang/github-actions | ||
/.buildkite/ @JuliaLang/github-actions | ||
|
||
/.github/workflows/rerun_failed.yml @DilumAluthge | ||
/.github/workflows/statuses.yml @DilumAluthge |
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,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
open-pull-requests-limit: 100 | ||
labels: | ||
- "dependencies" | ||
- "github-actions" | ||
- "domain:ci" |
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,19 @@ | ||
name: Labels | ||
|
||
permissions: | ||
contents: read | ||
on: | ||
pull_request: | ||
types: [labeled, unlabeled, opened, reopened, edited, synchronize] | ||
jobs: | ||
enforce-labels: | ||
name: Check for blocking labels | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
steps: | ||
- uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2 | ||
with: | ||
# REQUIRED_LABELS_ANY: "bug,enhancement,skip-changelog" | ||
# REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['bug','enhancement','skip-changelog']" | ||
BANNED_LABELS: "needs docs,needs compat annotation,needs more info,needs nanosoldier run,needs news,needs pkgeval,needs tests,needs decision,DO NOT MERGE,status:DO NOT MERGE" | ||
BANNED_LABELS_DESCRIPTION: "A PR should not be merged with `needs *` or `status:DO NOT MERGE` labels" |
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,70 @@ | ||
name: Typos | ||
|
||
permissions: {} | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
typos-check: | ||
name: Check for new typos | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Checkout the JuliaLang/julia repository | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
persist-credentials: false | ||
- name: Check spelling with typos | ||
#uses: crate-ci/typos@c7af4712eda24dd1ef54bd8212973888489eb0ce # v1.23.5 | ||
env: | ||
GH_TOKEN: "${{ github.token }}" | ||
run: | | ||
git fetch --depth=1 origin ${{ github.base_ref }} | ||
OLD_FILES=$(git diff-index --name-only --diff-filter=ad FETCH_HEAD) | ||
NEW_FILES=$(git diff-index --name-only --diff-filter=d FETCH_HEAD) | ||
# This is necessary because the typos command interprets the | ||
# empty string as "check all files" rather than "check no files". | ||
if [ -z "$NEW_FILES" ]; then | ||
echo "All edited files were deleted. Skipping typos check." | ||
exit 0 | ||
fi | ||
mkdir -p "${{ runner.temp }}/typos" | ||
RELEASE_ASSET_URL="$( | ||
gh api /repos/crate-ci/typos/releases/latest \ | ||
--jq '."assets"[] | select(."name" | test("^typos-.+-x86_64-unknown-linux-musl\\.tar\\.gz$")) | ."browser_download_url"' | ||
)" | ||
wget --secure-protocol=TLSv1_3 --max-redirect=1 --retry-on-host-error --retry-connrefused --tries=3 \ | ||
--quiet --output-document=- "${RELEASE_ASSET_URL}" \ | ||
| tar -xz -C "${{ runner.temp }}/typos" ./typos | ||
"${{ runner.temp }}/typos/typos" --version | ||
echo -n $NEW_FILES | xargs "${{ runner.temp }}/typos/typos" --format json >> ${{ runner.temp }}/new_typos.jsonl || true | ||
git checkout FETCH_HEAD -- $OLD_FILES | ||
if [ -z "$OLD_FILES" ]; then | ||
touch "${{ runner.temp }}/old_typos.jsonl" # No old files, so no old typos. | ||
else | ||
echo -n $OLD_FILES | xargs "${{ runner.temp }}/typos/typos" --format json >> ${{ runner.temp }}/old_typos.jsonl || true | ||
fi | ||
python -c ' | ||
import sys, json | ||
old = set() | ||
with open(sys.argv[1]) as old_file: | ||
for line in old_file: | ||
j = json.loads(line) | ||
if j["type"] == "typo": | ||
old.add(j["typo"]) | ||
clean = True | ||
with open(sys.argv[2]) as new_file: | ||
for line in new_file: | ||
new = json.loads(line) | ||
if new["type"] == "typo" and new["typo"] not in old: | ||
if len(new["typo"]) > 6: # Short typos might be false positives. Long are probably real. | ||
clean = False | ||
print("::warning file={},line={},col={}::perhaps \"{}\" should be \"{}\".".format( | ||
new["path"], new["line_num"], new["byte_offset"], | ||
new["typo"], " or ".join(new["corrections"]))) | ||
sys.exit(1 if not clean else 0)' "${{ runner.temp }}/old_typos.jsonl" "${{ runner.temp }}/new_typos.jsonl" |
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,26 @@ | ||
name: Whitespace | ||
|
||
permissions: {} | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
whitespace: | ||
name: Check whitespace | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
steps: | ||
- name: Checkout the JuliaLang/julia repository | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
persist-credentials: false | ||
- uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0 | ||
with: | ||
version: '1' | ||
- name: Check whitespace | ||
run: | | ||
contrib/check-whitespace.jl |
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,33 @@ | ||
name: cffconvert | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'release-*' | ||
paths: | ||
- CITATION.cff | ||
pull_request: | ||
branches: | ||
- 'master' | ||
- 'release-*' | ||
paths: | ||
- CITATION.cff | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
validate: | ||
name: "validate" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out a copy of the repository | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Check whether the citation metadata from CITATION.cff is valid | ||
uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084 # 2.0.0 | ||
with: | ||
args: "--validate" |
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
Oops, something went wrong.