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

chore: RR build by Velox GitHub test #126

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
38 changes: 38 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,41 @@ jobs:

- name: Run golang tests with coverage
run: make test
build-sample-rr:
name: Build (Go ${{ matrix.go }}, OS ${{matrix.os}})
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: true
matrix:
go: [ stable ]
os: [ "ubuntu-latest" ]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5 # action page: <https://github.com/actions/setup-go>
with:
go-version: ${{ matrix.go }}

- name: Check out code
uses: actions/checkout@v4

- name: Init Go modules Cache # Docs: <https://git.io/JfAKn#go---modules>
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-

- name: Install Go dependencies
run: go mod download

- name: Build RoadRunner
env:
RT_TOKEN: ${{ secrets.RT_TOKEN }}
GL_TOKEN: ${{ secrets.GL_TOKEN }}
VERSION: ${{ secrets.VERSION }}
TIME: ${{ secrets.TIME }}
run: |
go install github.com/roadrunner-server/velox/cmd/vx@latest
vx build -c velox_rr_v2023.toml -o="."
./rr --version
4 changes: 2 additions & 2 deletions velox_rr_v2023.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build_args = [
]

[roadrunner]
ref = "v2023.3.0"
ref = "v2023.3.7"

[github]
[github.token]
Expand Down Expand Up @@ -41,7 +41,7 @@ ref = "v2023.3.0"
otel = { ref = "v4.3.2", owner = "roadrunner-server", repository = "otel" }

# SERVER
server = { ref = "v4.4.2", owner = "roadrunner-server", repository = "server" }
server = { ref = "v4.5.3", owner = "roadrunner-server", repository = "server" }

# SERVICE aka lightweit systemd
service = { ref = "v4.4.4", owner = "roadrunner-server", repository = "service" }
Expand Down
Loading