Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Feb 26, 2024
1 parent d2f0296 commit fc5a5ed
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,53 +26,53 @@ jobs:
strategy:
matrix:
jobs:
- { goos: darwin, goarch: arm64, output: arm64 }
- { goos: darwin, goarch: amd64, goamd64: v1, output: amd64-compatible }
- { goos: darwin, goarch: amd64, goamd64: v3, output: amd64 }

- { goos: linux, goarch: '386', output: '386' }
- { goos: linux, goarch: amd64, goamd64: v1, output: amd64-compatible }
- { goos: linux, goarch: amd64, goamd64: v3, output: amd64 }
- { goos: linux, goarch: arm64, output: arm64 }
- { goos: linux, goarch: arm, goarm: '7', output: armv7 }
- { goos: linux, goarch: mips, mips: hardfloat, output: mips-hardfloat }
- { goos: linux, goarch: mips, mips: softfloat, output: mips-softfloat }
- { goos: linux, goarch: mipsle, mips: hardfloat, output: mipsle-hardfloat }
- { goos: linux, goarch: mipsle, mips: softfloat, output: mipsle-softfloat }
- { goos: linux, goarch: mips64, output: mips64 }
- { goos: linux, goarch: mips64le, output: mips64le }
# - { goos: darwin, goarch: arm64, output: arm64 }
# - { goos: darwin, goarch: amd64, goamd64: v1, output: amd64-compatible }
# - { goos: darwin, goarch: amd64, goamd64: v3, output: amd64 }

# - { goos: linux, goarch: '386', output: '386' }
# - { goos: linux, goarch: amd64, goamd64: v1, output: amd64-compatible }
# - { goos: linux, goarch: amd64, goamd64: v3, output: amd64 }
# - { goos: linux, goarch: arm64, output: arm64 }
# - { goos: linux, goarch: arm, goarm: '7', output: armv7 }
# - { goos: linux, goarch: mips, mips: hardfloat, output: mips-hardfloat }
# - { goos: linux, goarch: mips, mips: softfloat, output: mips-softfloat }
# - { goos: linux, goarch: mipsle, mips: hardfloat, output: mipsle-hardfloat }
# - { goos: linux, goarch: mipsle, mips: softfloat, output: mipsle-softfloat }
# - { goos: linux, goarch: mips64, output: mips64 }
# - { goos: linux, goarch: mips64le, output: mips64le }
- { goos: linux, goarch: loong64, output: loong64-abi1, abi: '1' }
- { goos: linux, goarch: loong64, output: loong64-abi2, abi: '2' }
- { goos: linux, goarch: riscv64, output: riscv64 }
- { goos: linux, goarch: s390x, output: s390x }
# - { goos: linux, goarch: riscv64, output: riscv64 }
# - { goos: linux, goarch: s390x, output: s390x }

- { goos: windows, goarch: '386', output: '386' }
- { goos: windows, goarch: amd64, goamd64: v1, output: amd64-compatible }
- { goos: windows, goarch: amd64, goamd64: v3, output: amd64 }
- { goos: windows, goarch: arm, goarm: '7', output: armv7 }
- { goos: windows, goarch: arm64, output: arm64 }
# - { goos: windows, goarch: '386', output: '386' }
# - { goos: windows, goarch: amd64, goamd64: v1, output: amd64-compatible }
# - { goos: windows, goarch: amd64, goamd64: v3, output: amd64 }
# - { goos: windows, goarch: arm, goarm: '7', output: armv7 }
# - { goos: windows, goarch: arm64, output: arm64 }

- { goos: freebsd, goarch: '386', output: '386' }
- { goos: freebsd, goarch: amd64, goamd64: v1, output: amd64-compatible }
- { goos: freebsd, goarch: amd64, goamd64: v3, output: amd64 }
- { goos: freebsd, goarch: arm64, output: arm64 }
# - { goos: freebsd, goarch: '386', output: '386' }
# - { goos: freebsd, goarch: amd64, goamd64: v1, output: amd64-compatible }
# - { goos: freebsd, goarch: amd64, goamd64: v3, output: amd64 }
# - { goos: freebsd, goarch: arm64, output: arm64 }

- { goos: android, goarch: '386', ndk: i686-linux-android34, output: '386' }
- { goos: android, goarch: amd64, ndk: x86_64-linux-android34, output: amd64 }
- { goos: android, goarch: arm, ndk: armv7a-linux-androideabi34, output: armv7 }
- { goos: android, goarch: arm64, ndk: aarch64-linux-android34, output: arm64-v8 }
# - { goos: android, goarch: '386', ndk: i686-linux-android34, output: '386' }
# - { goos: android, goarch: amd64, ndk: x86_64-linux-android34, output: amd64 }
# - { goos: android, goarch: arm, ndk: armv7a-linux-androideabi34, output: armv7 }
# - { goos: android, goarch: arm64, ndk: aarch64-linux-android34, output: arm64-v8 }

- { goos: windows, goarch: '386', output: '386-go120', version: 20 }
- { goos: windows, goarch: amd64, goamd64: v1, output: amd64-compatible-go120, version: 20 }
- { goos: windows, goarch: amd64, goamd64: v3, output: amd64-go120, version: 20 }
# - { goos: windows, goarch: '386', output: '386-go120', version: 20 }
# - { goos: windows, goarch: amd64, goamd64: v1, output: amd64-compatible-go120, version: 20 }
# - { goos: windows, goarch: amd64, goamd64: v3, output: amd64-go120, version: 20 }

- { goos: darwin, goarch: arm64, output: arm64-go120, version: 20 }
- { goos: darwin, goarch: amd64, goamd64: v1, output: amd64-compatible-go120, version: 20 }
- { goos: darwin, goarch: amd64, goamd64: v3, output: amd64-go120, version: 20 }
# - { goos: darwin, goarch: arm64, output: arm64-go120, version: 20 }
# - { goos: darwin, goarch: amd64, goamd64: v1, output: amd64-compatible-go120, version: 20 }
# - { goos: darwin, goarch: amd64, goamd64: v3, output: amd64-go120, version: 20 }

- { goos: linux, goarch: '386', output: '386-go120', version: 20 }
- { goos: linux, goarch: amd64, goamd64: v1, output: amd64-compatible-go120, version: 20 }
- { goos: linux, goarch: amd64, goamd64: v3, output: amd64-go120, version: 20 }
# - { goos: linux, goarch: '386', output: '386-go120', version: 20 }
# - { goos: linux, goarch: amd64, goamd64: v1, output: amd64-compatible-go120, version: 20 }
# - { goos: linux, goarch: amd64, goamd64: v3, output: amd64-go120, version: 20 }

steps:
- uses: actions/checkout@v4
Expand All @@ -93,14 +93,14 @@ jobs:
if: ${{ matrix.jobs.goarch == 'loong64' && matrix.jobs.abi == '1' }}
run: |
wget https://github.com/xishang0128/loongarch64-golang/releases/download/1.21.5/go1.21.5.linux-amd64-abi1.tar.gz
tar zxvf go1.21.5.linux-amd64-abi1.tar.gz -C /usr/local/
tar zxf go1.21.5.linux-amd64-abi1.tar.gz -C /usr/local/
export PATH=$PATH:/usr/local/go/bin
- name: Set up Go1.21 loongarch abi2
if: ${{ matrix.jobs.goarch == 'loong64' && matrix.jobs.abi == '2' }}
run: |
wget https://github.com/xishang0128/loongarch64-golang/releases/download/1.21.5/go1.21.5.linux-amd64-abi2.tar.gz
tar zxvf go1.21.5.linux-amd64-abi1.tar.gz -C /usr/local/
tar zxf go1.21.5.linux-amd64-abi1.tar.gz -C /usr/local/
export PATH=$PATH:/usr/local/go/bin
- name: Set variables
Expand Down

0 comments on commit fc5a5ed

Please sign in to comment.