Skip to content

Commit 591f4a6

Browse files
committed
Merged GitHub Actions test runs into all platform workflows
1 parent 659a707 commit 591f4a6

File tree

5 files changed

+34
-56
lines changed

5 files changed

+34
-56
lines changed

.github/workflows/formatting.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ jobs:
1717
- name: install latest clang-format
1818
run: brew install clang-format
1919

20-
# Run formatting checks
21-
2220
- name: make format-check
2321
run: make format-check

.github/workflows/macOS.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ jobs:
1717
- name: perform checkout
1818
uses: actions/checkout@v4
1919

20-
- name: perform setup
21-
run: ./scripts/setup.sh
20+
- name: perform setup
21+
run: ./scripts/setup.sh
2222

23-
- name: build all targets
24-
run: make
23+
- name: build all targets
24+
run: make
25+
26+
- name: run tests
27+
run: |
28+
cd ./bin/tests/build
29+
./app

.github/workflows/tests.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/ubuntu.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,22 @@ jobs:
1717
- name: perform checkout
1818
uses: actions/checkout@v4
1919

20-
- name: update apt
21-
run: sudo apt-get update
20+
- name: update apt
21+
run: sudo apt-get update
2222

23-
- name: install vulkan dependencies
24-
run: sudo apt install git build-essential libx11-xcb-dev libxkbcommon-dev libwayland-dev libxrandr-dev
23+
- name: install vulkan dependencies
24+
run: sudo apt install git build-essential libx11-xcb-dev libxkbcommon-dev libwayland-dev libxrandr-dev
2525

26-
- name: install glfw dependencies
27-
run: sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
26+
- name: install glfw dependencies
27+
run: sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
2828

29-
- name: perform setup
30-
run: ./scripts/setup.sh
29+
- name: perform setup
30+
run: ./scripts/setup.sh
3131

32-
- name: build all targets
33-
run: make
32+
- name: build all targets
33+
run: make
34+
35+
- name: run tests
36+
run: |
37+
cd ./bin/tests/build
38+
./app

.github/workflows/windows.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020
- name: perform checkout
2121
uses: actions/checkout@v4
2222

23-
- name: perform setup
24-
run: ./scripts/setup.ps1
25-
26-
- name: build all targets
27-
run: mingw32-make
23+
- name: perform setup
24+
run: ./scripts/setup.ps1
25+
26+
- name: build all targets
27+
run: mingw32-make
28+
29+
- name: run tests
30+
run: |
31+
cd ./bin/tests/build
32+
./app.exe

0 commit comments

Comments
 (0)