mirror of
https://github.com/netbirdio/easyjson.git
synced 2026-05-22 18:44:42 -07:00
only default tests
This commit is contained in:
@@ -33,31 +33,31 @@ jobs:
|
||||
- name: Build and Run tests
|
||||
run: make
|
||||
|
||||
test-arm64:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test on ${{ matrix.distro }} ${{ matrix.arch }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- arch: arm64
|
||||
distro: ubuntu24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: uraimo/run-on-arch-action@master
|
||||
with:
|
||||
arch: ${{ matrix.arch }}
|
||||
distro: ${{ matrix.distro }}
|
||||
install: |
|
||||
apt-get update
|
||||
apt install -y curl wget make gcc
|
||||
latestGo=$(curl "https://golang.org/VERSION?m=text")
|
||||
wget --quiet "https://dl.google.com/go/${latestGo}.linux-${{ matrix.arch }}.tar.gz"
|
||||
rm -f $(which go)
|
||||
rm -rf /usr/local/go
|
||||
tar -C /usr/local -xzf "${latestGo}.linux-${{ matrix.arch }}.tar.gz"
|
||||
run: |
|
||||
export PATH=/usr/local/go/bin:$PATH
|
||||
export PATH=~/go/bin:$PATH
|
||||
printf "Go Version: $(go version)\n"
|
||||
go install golang.org/x/lint/golint@latest
|
||||
make
|
||||
# test-arm64:
|
||||
# runs-on: ubuntu-latest
|
||||
# name: Test on ${{ matrix.distro }} ${{ matrix.arch }}
|
||||
# strategy:
|
||||
# matrix:
|
||||
# include:
|
||||
# - arch: arm64
|
||||
# distro: ubuntu24.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: uraimo/run-on-arch-action@master
|
||||
# with:
|
||||
# arch: ${{ matrix.arch }}
|
||||
# distro: ${{ matrix.distro }}
|
||||
# install: |
|
||||
# apt-get update
|
||||
# apt install -y curl wget make gcc
|
||||
# latestGo=$(curl "https://golang.org/VERSION?m=text")
|
||||
# wget --quiet "https://dl.google.com/go/${latestGo}.linux-${{ matrix.arch }}.tar.gz"
|
||||
# rm -f $(which go)
|
||||
# rm -rf /usr/local/go
|
||||
# tar -C /usr/local -xzf "${latestGo}.linux-${{ matrix.arch }}.tar.gz"
|
||||
# run: |
|
||||
# export PATH=/usr/local/go/bin:$PATH
|
||||
# export PATH=~/go/bin:$PATH
|
||||
# printf "Go Version: $(go version)\n"
|
||||
# go install golang.org/x/lint/golint@latest
|
||||
# make
|
||||
Reference in New Issue
Block a user