Skip to content

Commit

Permalink
Support Julia 1.7-1.10 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-luke committed Feb 2, 2024
1 parent ef303dc commit ad9e42c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
# The checkout step
- uses: actions/checkout@master
- uses: rojopolis/spellcheck-github-actions@0.24.0
- uses: rojopolis/spellcheck-github-actions@0.35.0
name: Spellcheck
with:
task_name: Markdown
Expand Down
24 changes: 11 additions & 13 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,37 @@ on:
jobs:
test:
timeout-minutes: 45
name: ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - provider ${{ matrix.provider }} - ${{ matrix.threads }} thread(s)
name: ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.threads }} thread(s)
runs-on: ${{ matrix.os }}
env:
JULIA_FFTW_PROVIDER: ${{ matrix.provider }}
JULIA_NUM_THREADS: ${{ matrix.threads }}
strategy:
fail-fast: false
matrix:
# experimental: [false]
provider:
- 'FFTW'
version:
- '1.5'
- '1'
- '1.10'
- '1.9'
- '1.8'
- '1.7'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
# - macOS-latest
# - windows-latest
threads:
- '1'
arch:
- x64
# - x86
exclude:
# 32-bit Julia binaries are not available on macOS
# 32-bit Julia binaries are not available on macOS
- os: macOS-latest
arch: x86
# 32-bit Linux binary for MKL isn't always available, let's ignore it
- os: ubuntu-latest
provider: 'MKL'
# provider: 'MKL'
arch: x86
- provider: 'MKL'
threads: '2'
# - provider: 'MKL'
# threads: '2'
# include:
# - version: 'nightly'
# experimental: true
Expand Down
8 changes: 3 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AuditoryStimuli"
uuid = "8341a549-d843-5d3b-924f-10e41641b3ea"
authors = ["Robert Luke <mail@robertluke.net>"]
version = "0.1.0"
version = "0.1.1"

[deps]
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
Expand All @@ -16,20 +16,18 @@ SampledSignals = "bd7594eb-a658-542f-9e75-4c4d8908c167"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
UnitfulRecipes = "42071c24-d89e-48dd-8a24-8a12d9b8861f"

[compat]
DSP = "0.6.0, 0.7"
FFTW = "1.1.0"
Images = "0.23, 0.24"
Parameters = "0.12"
Pipe = "1.3.0"
Plots = "1.0.0"
Plots = "1.34.2"
SampledSignals = "2.0.0"
StatsBase = "0.32.0, 0.33"
Unitful = "0.17.0, 1.6, 1.7"
UnitfulRecipes = "1"
julia = "1.5"
julia = "1.7"

[extras]
Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
Expand Down
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
AuditoryStimuli = "8341a549-d843-5d3b-924f-10e41641b3ea"
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
DisplayAs = "0b91fe84-8a4c-11e9-3e1d-67c38462b6d6"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Expand Down
11 changes: 11 additions & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,14 @@ plot_cross_correlation
```@docs
interaural_coherence
```

## Depreciated

```@docs
bandpass_noise
bandpass_filter
amplitude_modulate
ITD_modulate
set_RMS
set_ITD
```
1 change: 0 additions & 1 deletion src/AuditoryStimuli.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ using Logging
using FFTW
using Unitful
using Plots
using UnitfulRecipes
using Parameters

using Unitful: AbstractQuantity, AffineQuantity, DimensionlessQuantity
Expand Down

2 comments on commit ad9e42c

@rob-luke
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/100084

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" ad9e42cccf51d75e73c5abd55206624ddab01d43
git push origin v0.1.1

Please sign in to comment.