Skip to content

Commit

Permalink
Use arm32v6 image
Browse files Browse the repository at this point in the history
Add dragonfly image
  • Loading branch information
iwdgo committed Nov 25, 2024
1 parent 0144d83 commit 58a5078
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: linux - long test - amd64
on:
push:
branches:
- 'master'
- 'updates'
paths:
- 'action.yml'
- '.github/workflows/linux_long_test.yml'
- 'dragonfly.yml'
jobs:

build:
Expand All @@ -22,11 +22,5 @@ jobs:
uses: iwdgo/gotip-build@master
id: gotip
with:
go_variables: GO_TEST_SHORT=0 GO_TEST_TIMEOUT_SCALE=8
go_variables: GO_TEST_SHORT=1 GO_TEST_TIMEOUT_SCALE=8
test_build: true

- name: Upload go executable
uses: actions/upload-artifact@v3
with:
name: gotip-${{ env.goos }}-${{ env.goarch }}
path: go/
18 changes: 2 additions & 16 deletions .github/workflows/linux_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: arm v5/6/7
on:
push:
branches:
- 'master'
- 'updates'
paths:
- 'action.yml'
- '.github/workflows/linux_arm.yml'
Expand All @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
go_arch: [arm]
go_arm: [5, 6, 7]
go_arm: [5, 6]
fail-fast: false
name: Build
runs-on: ubuntu-latest
Expand All @@ -30,17 +30,3 @@ jobs:
with:
go_variables: GOARCH=${{ matrix.go_arch }} GOARM=${{ matrix.go_arm}}
test_build: true

- name: Upload go executable
uses: actions/upload-artifact@v3
if: ${{ env.crosscompile == 'false' }}
with:
name: gotip-${{ env.goos }}-${{ env.goarch }}
path: go/

- name: Upload go executable
uses: actions/upload-artifact@v3
if: ${{ env.crosscompile == 'true' }}
with:
name: gotip-${{ env.goos }}-${{ env.goarch }}
path: go/bin/${{ env.goos }}_${{ env.goarch }}
4 changes: 2 additions & 2 deletions architecture/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ var distro = []struct {
{"linux", "ppc64le", "", "", "", "", ""},
{"linux", "riscv64", "", "", "edge", "", ""},
{"linux", "arm", "5", "", "", "arm32v5/golang", "arm v5"},
// TODO arm32v6/golang:alpine
{"linux", "arm", "6", "", "", "", "arm v6"},
{"linux", "arm", "6", "", "", "arm32v6/golang", "arm v6"},
{"linux", "arm", "7", "", "", "", "arm v7"},
{"linux", "arm64", "8", "", "", "", "arm v8"},
{"linux", "386", "", "i386", "", "", ""},
{"dragonfly", "amd64", "", "", "", "chainguard/dragonfly", ""},
}

// setDefault returns the variable value read using os.Getenv and d when the value read is empty.
Expand Down

0 comments on commit 58a5078

Please sign in to comment.