From 43e87a131aa85ebea640ec1ae3645106dcc9651c Mon Sep 17 00:00:00 2001 From: 787B-R26B Date: Mon, 2 Feb 2026 13:18:26 +0900 Subject: [PATCH 1/3] feat: Exclude incompatible Julia versions and architectures on macOS and update GitHub Actions to their latest versions. --- .github/workflows/Tests.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index f21b7bc..8aae8d3 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -27,15 +27,22 @@ jobs: arch: - x64 - x86 + exclude: + # Julia 1.6 doesn't support macOS ARM64 (macos-latest is now ARM64) + - version: '1.6' + os: macOS-latest + # macOS runners are ARM64 only, no x86 support + - os: macOS-latest + arch: x86 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v5 with: - file: lcov.info + files: lcov.info From 6a26a0e1ecb080c1e34df03f9c890edbaf259797 Mon Sep 17 00:00:00 2001 From: 787B-R26B Date: Mon, 2 Feb 2026 13:34:29 +0900 Subject: [PATCH 2/3] fix: matrix config --- .github/workflows/Tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 8aae8d3..20c0b71 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -40,6 +40,7 @@ jobs: - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} + arch: ${{ matrix.arch }} - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 From ac92377b4c4b19de1a7d6fbe479b843a0c625165 Mon Sep 17 00:00:00 2001 From: 787B-R26B Date: Tue, 3 Feb 2026 11:00:49 +0900 Subject: [PATCH 3/3] fix: x86 seek type mismatch --- src/sourcesink.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sourcesink.jl b/src/sourcesink.jl index be6cbe4..a80dc9f 100644 --- a/src/sourcesink.jl +++ b/src/sourcesink.jl @@ -61,7 +61,7 @@ end function _seek(source::SndFileSource, offset::Integer, whence::Integer) - new_offset = sf_seek(source.filePtr, offset, whence) + new_offset = sf_seek(source.filePtr, sf_count_t(offset), whence) if new_offset < 0 error("Could not seek to $(offset) in file")