Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 30 additions & 4 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,36 @@ jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
- name: Check if Julia is already available in the PATH
id: julia_in_path
run: which julia
continue-on-error: true

- name: Install Julia, but only if it is not already available in the PATH
uses: julia-actions/setup-julia@v2
with:
version: '1'
arch: ${{ runner.arch }}
if: steps.julia_in_path.outcome != 'success'

- name: "Add the General registry via Git"
shell: julia --color=yes {0}
run: import Pkg; Pkg.Registry.add("General")
env:
JULIA_PKG_SERVER: ''

- name: "Install CompatHelper"
shell: julia --color=yes {0}
run: |
import Pkg
name = "CompatHelper"
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
version = "3"
Pkg.add(; name, uuid, version)

- name: "Run CompatHelper"
shell: julia --color=yes {0}
run: import CompatHelper; CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
5 changes: 1 addition & 4 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Documentation

on:
push:
branches:
- main
branches: [main]
tags: '*'
pull_request:

jobs:
build:
runs-on: ubuntu-latest
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
name: Benchmarks

on:
workflow_dispatch: # Allow manual triggering
pull_request:
push:
branches: [main]
paths:
- 'src/**'
- 'benchmark/**'
- '.github/workflows/benchmarks.yml'
push:
branches:
- main
pull_request:
paths:
- 'src/**'
- 'benchmark/**'

- '.github/workflows/benchmarks.yml'
workflow_dispatch: # Allow manual triggering
jobs:
benchmark:
name: Performance Benchmarks
Expand All @@ -22,7 +19,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Julia
uses: julia-actions/setup-julia@v2
Expand All @@ -31,7 +28,7 @@ jobs:
arch: x64

- name: Cache Julia packages
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.julia/artifacts
Expand All @@ -46,7 +43,7 @@ jobs:
run: |
# Setup FFTA environment
echo "Setting up FFTA environment..."
julia --project=benchmark/ffta_env -e '
julia --color=yes --project=benchmark/ffta_env -e '
import Pkg
Pkg.develop(path=".")
Pkg.instantiate()
Expand All @@ -55,15 +52,15 @@ jobs:

# Setup FFTW environment
echo "Setting up FFTW environment..."
julia --project=benchmark/fftw_env -e '
julia --color=yes --project=benchmark/fftw_env -e '
import Pkg
Pkg.instantiate()
Pkg.precompile()
'

# Setup plotting environment
echo "Setting up plotting environment..."
julia --project=benchmark -e '
julia --color=yes --project=benchmark -e '
import Pkg
Pkg.instantiate()
Pkg.precompile()
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: CI
on:
pull_request:
push:
branches:
- main
branches: [main]
tags: '*'
pull_request:
merge_group:
workflow_dispatch:
jobs:
Expand Down
Loading