File tree Expand file tree Collapse file tree 2 files changed +29
-48
lines changed Expand file tree Collapse file tree 2 files changed +29
-48
lines changed Original file line number Diff line number Diff line change @@ -2,67 +2,52 @@ name: CI (Julia nightly)
22on :
33  pull_request :
44    branches :
5-       - master 
5+       - main 
66    paths-ignore :
77      - ' LICENSE.md' 
88      - ' README.md' 
99      - ' .github/workflows/TagBot.yml' 
1010  push :
1111    tags : ' *' 
1212    branches :
13-       - master 
13+       - main 
1414    paths-ignore :
1515      - ' LICENSE.md' 
1616      - ' README.md' 
1717      - ' .github/workflows/TagBot.yml' 
1818jobs :
1919  test-julia-nightly :
2020    timeout-minutes : 30 
21-     name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{  github.event_name }} 
21+     name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} 
2222    runs-on : ${{ matrix.os }} 
2323    strategy :
2424      fail-fast : false 
2525      matrix :
26-         arch :
27-           - x64 
28-           - x86 
26+         #  use default arch
2927        exclusive :
3028          - ' 0' 
3129        os :
3230          - ubuntu-latest 
33-           - macOS-latest 
31+           - macOS-latest    #  arm 
3432          - windows-latest 
3533        threads :
3634          - ' 5' 
3735        version :
38-           - ' 1.5' 
39-           - ' 1' 
36+           #  Runs on Julia nightly only.
4037          - ' nightly' 
41-         exclude :
42-           - os : macOS-latest 
43-             arch : x86  #  32-bit Julia binaries are not available on macOS
4438        include :
45-           -  exclusive :  ' 1 ' 
46-              threads :  ' 2 ' 
47-             arch :  x64 
39+           #  ( exclusive=1, threads=2) 
40+           -  arch :  x64 
41+             exclusive :  ' 1 ' 
4842            os : ubuntu-latest 
49-             version : ' 1' 
43+             threads : ' 2' 
44+             version : ' 1.11' 
5045    steps :
5146      - uses : actions/checkout@v4 
5247      - uses : julia-actions/setup-julia@v2 
5348        with :
5449          version : ${{ matrix.version }} 
55-           arch : ${{ matrix.arch }} 
56-       - uses : actions/cache@v4 
57-         env :
58-           cache-name : cache-artifacts 
59-         with :
60-           path : ~/.julia/artifacts 
61-           key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} 
62-           restore-keys : | 
63-             ${{ runner.os }}-test-${{ env.cache-name }}- 
64-             ${{ runner.os }}-test- 
65-             ${{ runner.os }}- 
50+       - uses : julia-actions/cache@v2 
6651      - uses : julia-actions/julia-buildpkg@v1 
6752      - uses : julia-actions/julia-runtest@v1 
6853        env :
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: CI
22on :
33  pull_request :
44    branches :
5-       - master 
5+       - main 
66    paths-ignore :
77      - ' LICENSE.md' 
88      - ' README.md' 
99      - ' .github/workflows/TagBot.yml' 
1010  push :
1111    tags : ' *' 
1212    branches :
13-       - master 
13+       - main 
1414    paths-ignore :
1515      - ' LICENSE.md' 
1616      - ' README.md' 
@@ -30,39 +30,35 @@ jobs:
3030          - ' 0' 
3131        os :
3232          - ubuntu-latest 
33-           - macOS-latest 
3433          - windows-latest 
34+           - macos-13   #  Intel
3535        threads :
3636          - ' 5' 
3737        version :
38-           - ' 1.5' 
39-           - ' 1' 
40-           - ' nightly' 
38+           - ' 1.11' 
39+           #  - '1'  # Use this when julia +1 > 1.11
4140        exclude :
42-           - os : macOS-latest 
41+           - os : macos-13 
4342            arch : x86  #  32-bit Julia binaries are not available on macOS
4443        include :
45-           - exclusive : ' 1' 
46-             threads : ' 2' 
47-             arch : x64 
44+           - arch : aarch64 
45+             exclusive : ' 0' 
46+             os : macOS-latest   #  Arm
47+             threads : ' 5' 
48+             version : ' 1.11' 
49+           #  (exclusive=1, threads=2)
50+           - arch : x64 
51+             exclusive : ' 1' 
4852            os : ubuntu-latest 
49-             version : ' 1' 
53+             threads : ' 2' 
54+             version : ' 1.11' 
5055    steps :
5156      - uses : actions/checkout@v4 
5257      - uses : julia-actions/setup-julia@v2 
5358        with :
5459          version : ${{ matrix.version }} 
5560          arch : ${{ matrix.arch }} 
56-       - uses : actions/cache@v4 
57-         env :
58-           cache-name : cache-artifacts 
59-         with :
60-           path : ~/.julia/artifacts 
61-           key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} 
62-           restore-keys : | 
63-             ${{ runner.os }}-test-${{ env.cache-name }}- 
64-             ${{ runner.os }}-test- 
65-             ${{ runner.os }}- 
61+       - uses : julia-actions/cache@v2 
6662      - uses : julia-actions/julia-buildpkg@v1 
6763      - uses : julia-actions/julia-runtest@v1 
6864        env :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments