Skip to content

Commit

Permalink
Build only examples
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraVoves committed Apr 11, 2024
1 parent b51765e commit 60e25eb
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- main
- unstable
paths:
- ".github/workflows/**"
- "src/**"
- "examples/**"
- "libs/**"
Expand All @@ -20,6 +21,7 @@ on:
branches:
- main
paths:
- ".github/workflows/**"
- "src/**"
- "examples/**"
- "libs/**"
Expand Down Expand Up @@ -79,10 +81,6 @@ jobs:
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ steps.zigversion.outputs.content }}

- name: Build
shell: bash
run: zig build

- name: Build example 00
shell: bash
Expand Down Expand Up @@ -112,10 +110,6 @@ jobs:
with:
version: ${{ steps.zigversion.outputs.content }}

- name: Build
shell: bash
run: zig build

- name: Build example 00
shell: bash
run: cd examples/00-minimal && zig build
Expand All @@ -133,7 +127,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true

- name: Read .zig-version
id: zigversion
uses: juliangruber/read-file-action@v1
Expand All @@ -144,10 +138,6 @@ jobs:
with:
version: ${{ steps.zigversion.outputs.content }}

- name: Build
shell: bash
run: zig build

- name: Build example 00
shell: bash
run: cd examples/00-minimal && zig build
Expand Down

0 comments on commit 60e25eb

Please sign in to comment.