diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a1d5d2c..18ed3d2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,8 +6,8 @@ on: jobs: build-linux-x86_64: - name: Build for Linux x86_64 - runs-on: ubuntu-latest + name: Build - linux x86_64 + runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -22,8 +22,8 @@ jobs: run: make build build-macos: - name: Build for MacOS - runs-on: macos-latest + name: Build - macos + runs-on: macos-12 steps: - name: Checkout code uses: actions/checkout@v2 @@ -42,8 +42,8 @@ jobs: make build build-windows: - name: Build for Windows - runs-on: windows-latest + name: Build - windows + runs-on: windows-2022 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/buildx.yaml b/.github/workflows/buildx.yaml index 995e7ff..cf015b3 100644 --- a/.github/workflows/buildx.yaml +++ b/.github/workflows/buildx.yaml @@ -6,8 +6,8 @@ on: jobs: build-linux-aarch64: - name: Build for Linux AArch64 - runs-on: ubuntu-latest + name: Build - linux aarch64 + runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -27,24 +27,24 @@ jobs: - name: Setup, Test, Build run: make build-multiarch -# build-linux-armv7: -# name: Build for Linux ARMv7 -# runs-on: ubuntu-latest -# steps: -# - name: Checkout code -# uses: actions/checkout@v2 -# -# - name: Set up QEMU -# uses: docker/setup-qemu-action@v1 -# -# - name: Set up Docker Buildx -# id: buildx -# uses: docker/setup-buildx-action@v1 -# with: -# version: latest -# -# - name: Available platforms -# run: echo ${{ steps.buildx.outputs.platforms }} -# -# - name: Setup, Test, Build -# run: PLATFORMS=linux/arm/v7 make build-multiarch + build-linux-armv7: + name: Build - linux armv7 + runs-on: ubuntu-20.04 + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v1 + with: + version: latest + + - name: Available platforms + run: echo ${{ steps.buildx.outputs.platforms }} + + - name: Setup, Test, Build + run: PLATFORMS=linux/arm/v7 make build-multiarch diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 18dcc44..3ded5c0 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -1,4 +1,4 @@ -name: Build for PR/Push +name: PR/Push on: workflow_dispatch: @@ -10,8 +10,8 @@ on: jobs: build-linux-x86_64: - name: Build for Linux x86_64 - runs-on: ubuntu-latest + name: Build - linux x86_64 + runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5d60001..281ff9b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,7 @@ on: jobs: create-github-release: name: Create github release - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 needs: [ ] steps: - name: Checkout code @@ -31,8 +31,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} release-linux-x86_64: - name: Release for linux x86_64 - runs-on: ubuntu-latest + name: Release - linux x86_64 + runs-on: ubuntu-20.04 needs: create-github-release steps: - name: Checkout code @@ -54,8 +54,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} release-linux-aarch64: - name: Release for Linux AArch64 - runs-on: ubuntu-latest + name: Release - linux aarch64 + runs-on: ubuntu-20.04 needs: - create-github-release steps: @@ -86,8 +86,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} # release-linux-armv7: - # name: Rlease for Linux ARMv7 - # runs-on: ubuntu-latest + # name: relase - linux armv7 + # runs-on: ubuntu-20.04 # steps: # - name: Checkout code # uses: actions/checkout@v2 @@ -108,8 +108,8 @@ jobs: # run: PLATFORMS=linux/arm/v7 make release-multiarch release-macos: - name: Release for MacOS - runs-on: macos-latest + name: Release - macos + runs-on: macos-12 needs: - create-github-release steps: @@ -133,8 +133,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} release-windows: - name: Release for Windows - runs-on: windows-latest + name: Release - windows + runs-on: windows-2022 needs: - create-github-release steps: