Skip to content

Commit

Permalink
ci: Build docker image for multiple architectures (#1619)
Browse files Browse the repository at this point in the history
* ci: Build docker image for multiple architectures

* Print executable name and version

* Better way to print versions during qns run
  • Loading branch information
larseggert authored Feb 5, 2024
1 parent 40a9346 commit 9a394e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/qns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ on:
- cron: '42 3 * * 2,5' # Runs at 03:42 UTC (m and h chosen arbitrarily) twice a week.
workflow_dispatch:
pull_request:
branch: ["main"]
branches: ["main"]
paths:
- 'qns/**'
- '.github/workflows/qns.yml'
jobs:
docker-image:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -47,3 +50,4 @@ jobs:
RUST_VERSION=stable
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64, linux/arm64
2 changes: 2 additions & 0 deletions qns/interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ case "$ROLE" in
client)
/wait-for-it.sh sim:57832 -s -t 30
sleep 5
neqo-client --help | head -n 1
RUST_LOG=debug RUST_BACKTRACE=1 neqo-client --cc cubic --qns-test "$TESTCASE" \
--qlog-dir "$QLOGDIR" --output-dir /downloads $REQUESTS
;;
Expand All @@ -27,6 +28,7 @@ case "$ROLE" in
-name "$CERT" -passout pass: -out "$P12CERT"
pk12util -d "sql:$DB" -i "$P12CERT" -W ''
certutil -L -d "sql:$DB" -n "$CERT"
neqo-server --help | head -n 1
RUST_LOG=info RUST_BACKTRACE=1 neqo-server --cc cubic --qns-test "$TESTCASE" \
--qlog-dir "$QLOGDIR" -d "$DB" -k "$CERT" [::]:443
;;
Expand Down

0 comments on commit 9a394e9

Please sign in to comment.