Skip to content

ci: test build on arm64 #563

ci: test build on arm64

ci: test build on arm64 #563

Workflow file for this run

name: publish
on:
push:
pull_request:
env:
# Note: Use exactly match version of tool, to avoid unexpected issues with test on CI.
GO_VERSION: '1.22.10'
jobs:
create-packages-linux-arm64:
runs-on: graviton
strategy:
fail-fast: false
container:
image: tarantool/testing:tt-build
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install etcd
uses: ./.github/actions/setup-etcd
- name: Set GoReleaser flags
id: set-goreleaser-flags
run: |
if ${{ startsWith(github.ref, 'refs/tags') }} ; then
echo "::set-output name=GORELEASER_FLAGS::--rm-dist --skip-validate"
else
echo "::set-output name=GORELEASER_FLAGS::--rm-dist --snapshot"
fi
# These scripts will be picked up while building packages with goreleaser.
- name: Generate ZSH and Bash completion scripts
run: |
mage build
./tt completion bash > tt-completion.bash
./tt completion zsh > tt-completion.zsh