Skip to content

Commit

Permalink
Run github actions on pull requests (#95)
Browse files Browse the repository at this point in the history
This makes it easier to see build failures and talk about issues
with more context instead of tracking down a specific build on a
fork
  • Loading branch information
DDRBoxman authored Dec 30, 2024
1 parent 2cce14d commit b8b0468
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 49 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/build-platformio-macos.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
name: macOS build

on: [push,workflow_dispatch]
on: [push,workflow_dispatch, pull_request]

jobs:
build:
runs-on: macos-latest








steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
Expand All @@ -29,23 +22,6 @@ jobs:
run: |
brew install sdl2 sdl2_image
- name: Install PlatformIO Core
run: pip install --upgrade platformio

Expand Down
24 changes: 1 addition & 23 deletions .github/workflows/build-platformio-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
name: Ubuntu build

on: [push,workflow_dispatch]
on: [push,workflow_dispatch,pull_request]

jobs:
build:
runs-on: ubuntu-latest








steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
Expand All @@ -31,21 +24,6 @@ jobs:
sudo apt upgrade -y
sudo apt install -y libsdl2-dev libsdl2-image-dev
- name: Install PlatformIO Core
run: pip install --upgrade platformio

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-platformio-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Windows build

on: [push,workflow_dispatch]
on: [push,workflow_dispatch,pull_request]

jobs:
build:
Expand Down

0 comments on commit b8b0468

Please sign in to comment.