-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dirk Klawitter
committed
Jul 18, 2024
1 parent
d74dc3b
commit d7ce8ee
Showing
1 changed file
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Verification Build | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
|
||
# docker run --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" grafana/xk6 build v0.43.1 \ | ||
# --with github.com/mostafa/[email protected] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: build k6 | ||
container: | ||
image: grafana/xk6 | ||
volumes: | ||
- ${pwd}:/xk6 | ||
options: --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" | ||
run: build --with github.com/LeonAdato/xk6-output-statsd | ||
|
||
- name: build k6 v2 | ||
uses: addnab/docker-run-action@v3 | ||
with: | ||
image: grafana/xk6 | ||
options: --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" | ||
run: build --with github.com/LeonAdato/xk6-output-statsd |