Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
19 changes: 10 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
build:
strategy:
matrix:
go-version: [1.22.x, 1.23.x, 1.24.x]
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.23.x, 1.24.x, 1.25.x]
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
env:
CGO_ENABLED: 0
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.23.x
go-version: 1.25.x

- name: Checkout code
uses: actions/[email protected]
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.24.x
go-version: 1.25.x

- name: Checkout code
uses: actions/[email protected]
Expand All @@ -97,10 +97,10 @@ jobs:
run: go build github.com/minio/minlz/cmd/mz&&./mz c -verify -o=comp.mz mz&&./mz d -rm comp.mz&&rm ./mz&&rm comp

- name: goreleaser deprecation
run: curl -sfL https://git.io/goreleaser | VERSION=v2.3.2 sh -s -- check
run: curl -sfL https://git.io/goreleaser | VERSION=v2.13.2 sh -s -- check

- name: goreleaser snapshot
run: curl -sL https://git.io/goreleaser | VERSION=v2.3.2 sh -s -- --snapshot --clean
run: curl -sL https://git.io/goreleaser | VERSION=v2.13.2 sh -s -- --snapshot --clean

- name: Test GOAMD64 v3
env:
Expand All @@ -117,16 +117,17 @@ jobs:
fuzz:
env:
CGO_ENABLED: 0
runs-on: ubuntu-latest
strategy:
matrix:
tags: [ 'nounsafe', '"noasm,nounsafe"' ]
tags: [ '', 'nounsafe', '"noasm,nounsafe"' ]
tests: ['FuzzEncodingBlocks', 'FuzzDecode', 'FuzzStreamEncode', 'FuzzStreamDecode', 'FuzzLZ4Block']
os: [ubuntu-latest, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.24.x
go-version: 1.25.x

- name: Checkout code
uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v5.2.0
with:
go-version: 1.24.x
go-version: 1.25.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
with:
version: 2.3.2
version: 2.13.2
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
23 changes: 23 additions & 0 deletions asm_arm64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright 2026 MinIO Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build arm64 && !appengine && !noasm && gc && !purego

package minlz

// decodeBlockAsm decodes a non-empty src to a guaranteed-large-enough dst.
// It assumes that the varint-encoded length of the decompressed bytes has already been read.
//
//go:noescape
func decodeBlockAsm(dst []byte, src []byte) int
Loading
Loading