Skip to content

Commit

Permalink
Fix Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
krzmaz committed Oct 9, 2023
1 parent 6eee377 commit 1e7ecbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- uses: actions/checkout@v2
- uses: carlosperate/arm-none-eabi-gcc-action@v1

- name: Build
shell: bash
run: |
./build.sh
- name: Build
shell: bash
run: |
./build.sh pico_w_webserver
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

if which ninja >/dev/null; then
cmake -B build -G Ninja $1 && \
cmake -B build -G Ninja && \
ninja -C build $1
else
cmake -B build $1 && \
Expand Down

0 comments on commit 1e7ecbf

Please sign in to comment.