Skip to content

Commit

Permalink
Updated examples workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlalis committed Jan 24, 2024
1 parent 880b162 commit ed944be
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,27 @@ jobs:
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.compiler }}

- name: "Example: hello-world"
working-directory: examples
run: dub -q build --single hello-world.d

- name: "Example: using-headers"
working-directory: examples
run: dub -q build --single using-headers.d

- name: "Example: file-upload"
working-directory: examples/file-upload
run: dub -q build --single server.d
working-directory: examples
run: dub -q build --single file-upload.d

- name: "Example: handler-testing"
working-directory: examples/handler-testing
run: dub test --single handler.d

- name: "Example: multiple-handlers"
working-directory: examples/multiple-handlers
run: dub -q build

- name: "Example: single-file-server"
working-directory: examples/single-file-server
run: dub -q build --single hello.d
working-directory: examples
run: dub test --single handler-testing.d

- name: "Example: static-content-server"
working-directory: examples/static-content-server
run: dub -q build --single content_server.d

- name: "Example: websocket"
working-directory: examples/websocket
run: dub -q build --single server.d

0 comments on commit ed944be

Please sign in to comment.