-
Notifications
You must be signed in to change notification settings - Fork 682
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #397 from ava-labs/auto-build
first run of test
- Loading branch information
Showing
11 changed files
with
284 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: build-linux-release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build-x86_64-binaries-tarball: | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.15.5' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
|
||
- name: Build the avalanchego binaries | ||
run: ./scripts/build.sh | ||
|
||
- name: Install aws cli | ||
run: | | ||
sudo apt update | ||
sudo apt-get install awscli | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
shell: bash | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Create tgz package structure | ||
run: ./.github/workflows/build-tgz-pkg.sh | ||
env: | ||
TAG: ${{ steps.get_version.outputs.VERSION }} | ||
BUCKET: ${{ secrets.BUCKET }} | ||
ARCH: "amd64" | ||
RELEASE: "focal" | ||
|
||
build-arm64-binaries-tarball: | ||
runs-on: [self-hosted, linux, ARM64, bionic] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.15.5' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
|
||
- name: Build the avalanchego binaries | ||
run: ./scripts/build.sh | ||
|
||
- name: Install aws cli | ||
run: | | ||
sudo apt update | ||
sudo apt-get install awscli | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
shell: bash | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Create tgz package structure | ||
run: ./.github/workflows/build-tgz-pkg.sh | ||
env: | ||
TAG: ${{ steps.get_version.outputs.VERSION }} | ||
BUCKET: ${{ secrets.BUCKET }} | ||
ARCH: "arm64" | ||
RELEASE: "focal" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: build-amd64-debian-packages | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build-bionic-amd64-package: | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.15.5' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
|
||
- name: Build the avalanchego binaries | ||
run: ./scripts/build.sh | ||
|
||
- name: Install aws cli | ||
run: | | ||
sudo apt update | ||
sudo apt-get -y install awscli | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
shell: bash | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Create debian package | ||
run: ./.github/workflows/build-deb-pkg.sh | ||
env: | ||
TAG: ${{ steps.get_version.outputs.VERSION }} | ||
BUCKET: ${{ secrets.BUCKET }} | ||
ARCH: "amd64" | ||
RELEASE: "bionic" | ||
|
||
build-focal-amd64-package: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.15.5' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
|
||
- name: Build the avalanchego binaries | ||
run: ./scripts/build.sh | ||
|
||
- name: Install aws cli | ||
run: | | ||
sudo apt update | ||
sudo apt-get -y install awscli | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
shell: bash | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Create debian package | ||
run: ./.github/workflows/build-deb-pkg.sh | ||
env: | ||
TAG: ${{ steps.get_version.outputs.VERSION }} | ||
BUCKET: ${{ secrets.BUCKET }} | ||
ARCH: "amd64" | ||
RELEASE: "focal" | ||
|
Oops, something went wrong.