-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Move JuliaSyntax + JuliaLowering into the main tree #59870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 250 commits
0b69398
accbd00
fe93b7d
f5df56e
5b45b67
4ea8106
85342c1
f5210dc
f853a42
8690d81
46d212b
b17c08f
9de72c9
14e46c8
460390e
94e41f7
1fe1fb1
1a94577
149a13d
bea1526
ab916a0
9988383
d5852c9
13af6ad
cca242b
8909a98
3423cb5
055a7ef
6e03456
b0c57a5
5e7de9c
6bf145f
4123566
feffa3f
1ebe863
63e00ae
742ecd1
e7de2a5
ad0cc8f
9750b1a
990ce77
d88ae88
0726c50
1bb3d05
39a5b35
a0c35e0
ec7b47e
c32f75d
466d8b7
0ce7c6a
a9c0eb3
4e1e544
47494f7
a5f25b4
733eaec
362d368
99352ff
59baced
c4ec290
f5edbcf
e8684c2
8409b93
1a54b10
4ef512b
e59d0b1
329e235
81d206a
d96198f
ab69066
1d16d9b
bbe6231
fd6bb66
fa60e5f
601b425
7e7aa7c
d4ab6f3
96b4345
de55434
fe3a0f2
71f6cf6
40514a9
b6f5904
5d6df34
a069880
2149054
bd6c2a1
775de75
d9848bb
23818bc
6acc425
69f17d1
ac1beb3
d41ca39
a2938f7
aeb89b1
fbe0c5e
9d6825b
1e5e83e
32cd53d
e2868f7
fde7c4d
fb93f67
47756de
73257f5
aa27522
45b0678
32aec86
e1679b0
e5dd569
4390927
4c76d88
d9ea78d
04ef4c1
f8bb72b
025c2a8
a3b3096
87d3421
ccf5b70
f73c974
52b8f59
7a70cae
11a237c
44544df
3cd4b14
d6b0c6e
399269e
ede0365
2989822
ade28cb
64cf890
f3cce2c
0db8b12
2b5070e
513a7aa
c31aa64
dd283a1
d34748f
412c2b6
b9276f6
4513cd3
21da6e9
5f64351
f808ff7
2b7269d
475348d
6cce282
5412db0
55398eb
9823379
3a9db57
4257a96
2b3c831
64ad2e5
150c8b8
105ca6a
f790576
dba961b
f452a33
740c4a2
fe9066c
64b3ea8
849810e
d4d7793
95be1ed
6927d9f
471b22c
edfd71e
078f4c1
0f6c6db
960bca6
7312169
274dd79
1870df1
0167c13
0a4310e
f100f2f
f0e5ba1
44c1064
e14b0ca
64f2c91
071bb62
92b6e80
9483333
efc8973
cd57aa4
bee8c2b
49d8778
261087c
cca32f6
c7c7a43
f6594c3
8659f53
bdbcc8f
64a3e38
eb476b3
6141dfc
6effc01
a01ff91
5d961ba
2c16628
89eb20c
d08b432
07dad4c
2aa556a
4ead4cf
308e5ba
4375b92
8215b58
cb9bd9e
07ff798
5b5ffa5
6916955
04500e3
e959468
a4e366f
1ab9681
477237f
d0b0b84
7db24dc
d1706e6
3d8b461
af52769
ba493a6
634ffdc
b86cd14
7aba299
efc427e
127911f
c59d1c8
d4cf58f
2377543
705760c
23dda67
ee6dce4
2ea1c32
9e2ae6c
fa81f0e
d6254ae
9c6267c
7e694da
74d0e1d
df28c66
5da7baf
2d69474
9938cf2
e58e696
1bc6b0a
48169c4
f33cd36
ff33779
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| name: JuliaSyntaxCI | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - release-* | ||
| paths: | ||
| - 'JuliaSyntax/**' | ||
| tags: '*' | ||
| pull_request: | ||
| paths: | ||
| - 'JuliaSyntax/**' | ||
| concurrency: | ||
| # Skip intermediate builds: always. | ||
| # Cancel intermediate builds: only if it is a pull request build. | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | ||
| jobs: | ||
| test: | ||
| runs-on: ${{ matrix.os }} | ||
| timeout-minutes: 60 | ||
| permissions: | ||
| contents: read | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| version: | ||
| - '1.0' | ||
| - '1.6' | ||
| - '1.10' | ||
| - '1' | ||
| github-runner: | ||
| - ubuntu-latest | ||
| - macOS-latest | ||
| - windows-latest | ||
| julia-wordsize: | ||
| # The value here only affects the version of Julia binary that we download. | ||
| # It does not affect the architecture of the GitHub Runner (virtual machine) that | ||
| # we run on. | ||
| - '32' # 32-bit Julia. Only available on x86_64. Not available on aarch64. | ||
| - '64' # 64-bit Julia. | ||
| exclude: | ||
| # We don't have 32-bit builds of Julia for Intel macOS: | ||
| - github-runner: macos-13 # macos-13 = Intel. | ||
| julia-wordsize: '32' | ||
| # We don't have 32-bit builds of Julia for Apple Silicon macOS: | ||
| - github-runner: macos-14 # macos-14 = Apple Silicon. | ||
| julia-wordsize: '32' | ||
| steps: | ||
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1 | ||
| with: | ||
| version: ${{ matrix.julia-version }} | ||
| # If `julia-wordsize` is 32, then we set `arch` to `x86`, because we know that | ||
| # 32-bit builds of Julia are only available for x86. | ||
| # | ||
| # If `julia-wordsize` is 64, then we set `arch` to `${{ runner.arch }}`, which | ||
| # GitHub will automatically expand to the correct value (`x86_64` or `aarch64`) | ||
| # based on the architecture of the underlying GitHub Runner (virtual machine). | ||
| arch: ${{ matrix.julia-wordsize == '32' && 'x86' || runner.arch }} | ||
| - uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0 | ||
| - uses: julia-actions/julia-runtest@678da69444cd5f13d7e674a90cb4f534639a14f9 # v1.11.2 | ||
| with: | ||
| project: JuliaSyntax |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| name: CI | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| tags: ['*'] | ||
| pull_request: | ||
| workflow_dispatch: | ||
| concurrency: | ||
| # Skip intermediate builds: always. | ||
| # Cancel intermediate builds: only if it is a pull request build. | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | ||
| jobs: | ||
| test: | ||
| name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| version: | ||
| - 'nightly' | ||
| os: | ||
| - ubuntu-latest | ||
| arch: | ||
| - x64 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: julia-actions/setup-julia@v1 | ||
| with: | ||
| version: ${{ matrix.version }} | ||
| arch: ${{ matrix.arch }} | ||
| - uses: julia-actions/cache@v1 | ||
| - uses: julia-actions/julia-buildpkg@v1 | ||
| - uses: julia-actions/julia-runtest@v1 |
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, there's a fair bit of cleanup we can do to some of the independent project-related stuff in both JuliaLowering and JuliaSyntax. I'll plan to do that in a separate PR. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: CompatHelper | ||
| on: | ||
| schedule: | ||
| - cron: 0 0 * * * | ||
| workflow_dispatch: | ||
| jobs: | ||
| CompatHelper: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Pkg.add("CompatHelper") | ||
| run: julia -e 'using Pkg; Pkg.add("CompatHelper")' | ||
| - name: CompatHelper.main() | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} | ||
| run: julia -e 'using CompatHelper; CompatHelper.main()' |
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: TagBot | ||
| on: | ||
| issue_comment: | ||
| types: | ||
| - created | ||
| workflow_dispatch: | ||
| inputs: | ||
| lookback: | ||
| default: 3 | ||
| permissions: | ||
| actions: read | ||
| checks: read | ||
| contents: write | ||
| deployments: read | ||
| issues: read | ||
| discussions: read | ||
| packages: read | ||
| pages: read | ||
| pull-requests: read | ||
| repository-projects: read | ||
| security-events: read | ||
| statuses: read | ||
| jobs: | ||
| TagBot: | ||
| if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: JuliaRegistries/TagBot@v1 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| ssh: ${{ secrets.DOCUMENTER_KEY }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /Manifest.toml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2024 JuliaHub and contributors | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name = "JuliaLowering" | ||
| uuid = "f3c80556-a63f-4383-b822-37d64f81a311" | ||
| authors = ["Claire Foster <[email protected]> and contributors"] | ||
| version = "1.0.0-DEV" | ||
|
|
||
| [deps] | ||
| JuliaSyntax = "70703baa-626e-46a2-a12c-08ffd08c73b4" | ||
|
|
||
| [sources] | ||
| JuliaSyntax = {rev = "99e975a7", url = "https://github.com/JuliaLang/JuliaSyntax.jl"} | ||
|
|
||
| [compat] | ||
| julia = "1" | ||
|
|
||
| [extras] | ||
| Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
| Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" | ||
| FileWatching = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" | ||
| REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | ||
|
|
||
| [targets] | ||
| test = ["Test", "FileWatching", "Markdown", "REPL"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this into the top-level
.github/folder?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might just delete it and do JuliaLowering testing on buildkite instead.
My current plan is to test JuliaSyntax + JuliaLowering against the DEV version of julia on buildkite and reserve Github actions for testing against historical Julia versions, just because the infrastructure for dealing with the historical versions exists already. (Happy to move that to buildkite in future, but for now that seemed the simplest way to get this over the line)