Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.yaml: Use self-hosted runner for build pipeline #659

Merged
merged 3 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ env:

jobs:
build:
name: Build and download binaries from manifest for ${{ matrix.platform.name }}-${{ matrix.architecture }}
runs-on: ubuntu-latest
name: Download binaries for ${{ matrix.platform.name }}-${{ matrix.architecture }}
runs-on: ${{ matrix.platform.name }}
strategy:
fail-fast: false
matrix:
Expand All @@ -30,9 +30,7 @@ jobs:
- amd64
platform:
- name: linux
os: ubuntu-latest
- name: darwin
os: macos-latest

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/catalyst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
target: stripped
target_suffix: "-arm64"
debug_suffix: ""
# example: livepeer/catalyst:latest-amd-debug
# example: livepeer/catalyst:latest-amd64-debug
# unstripped binaries for use with gdb coredump debugging
- platforms: linux/amd64
target: full
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version-file: go.mod
go-version: '1.20.5'
go-version: "1.20.5"
cache: true
cache-dependency-path: go.sum

Expand All @@ -53,13 +53,17 @@ jobs:
uses: FedericoCarboni/setup-ffmpeg@v2

- name: Run tests with coverage
run: go test --covermode=atomic --coverprofile=coverage.out $(go list ./... | grep -v 'test/e2e')
run:
go test --covermode=atomic --coverprofile=coverage.out $(go list ./...
| grep -v 'test/e2e')

- name: Build Docker image
run: make docker DOCKER_TAG=catalyst-e2e-test

- name: Run E2E tests
run: go test $(go list ./... | grep 'test/e2e') --timeout 15m --image catalyst-e2e-test
run:
go test $(go list ./... | grep 'test/e2e') --timeout 15m --image
catalyst-e2e-test

- name: Upload coverage reports
uses: codecov/codecov-action@v3
Expand Down
Loading