Skip to content

Commit

Permalink
try fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoohuang committed May 18, 2023
1 parent 773bca2 commit 6bd4764
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/easyjson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ jobs:
- name: Build and Run tests
run: make

test-non-amd64:
runs-on: ubuntu-latest
name: Test on ${{ matrix.distro }} ${{ matrix.arch }}
strategy:
matrix:
include:
- arch: ppc64le
distro: ubuntu20.04
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
# test-non-amd64:
# runs-on: ubuntu-latest
# name: Test on ${{ matrix.distro }} ${{ matrix.arch }}
# strategy:
# matrix:
# include:
# - arch: ppc64le
# distro: ubuntu20.04
# steps:
# - uses: actions/checkout@v3
# - uses: uraimo/run-on-arch-action@v2
# with:
# arch: ${{ matrix.arch }}
# distro: ${{ matrix.distro }}
# install: |
# apt-get update
# apt install -y curl wget make gcc
Expand All @@ -55,9 +55,9 @@ jobs:
# 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
# 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

0 comments on commit 6bd4764

Please sign in to comment.