Made actions only collect artifacts on failure

This commit is contained in:
Jonathan Moallem 2020-11-24 15:57:45 +11:00
parent 1b7a161c98
commit e20e5b31fc
4 changed files with 6 additions and 5 deletions

View File

@ -17,6 +17,7 @@ jobs:
- name: make test
run: make test
- name: save logs as artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs

View File

@ -19,8 +19,9 @@ jobs:
- name: make setup
run: make setup
- name: make test
run: make test
run: make test
- name: save logs as artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs

View File

@ -74,7 +74,6 @@ clean:
check:
# Search the execution log for mention of raylib starting
cat $(tempDir)/execute.log
$(eval VAR = $(shell grep -c "raylib" $(tempDir)/execute.log))
if [ $(VAR) -gt 0 ];\
then echo "Application was started";\

View File

@ -16,9 +16,9 @@ So that being said, we hope that this repository finds you well and wholehearted
### Current Compatibility
| OS | Default Compiler | Last Built On | Status |
| ----------- | ---------------- | ------------------ | -------- |
| **macOS** | Clang++ | `Big Sur 11.0.1` | ![macOS Status](https://github.com/CapsCollective/raylib-cpp-starter/workflows/macOS-build/badge.svg) |
| **Linux** | G++ | `Ubuntu 20.04 LTS` | ![Linux Status](https://github.com/CapsCollective/raylib-cpp-starter/workflows/ubuntu-build/badge.svg) |
| **Windows** | MinGW (G++) | `Windows 10 19041` | ![Windows Status](https://github.com/CapsCollective/raylib-cpp-starter/workflows/windows-build/badge.svg) |
| **macOS** | Clang++ | `Big Sur 11.0.1` | ![macOS Status](https://github.com/CapsCollective/raylib-cpp-starter/workflows/macOS/badge.svg) |
| **Linux** | G++ | `Ubuntu 20.04 LTS` | ![Linux Status](https://github.com/CapsCollective/raylib-cpp-starter/workflows/ubuntu/badge.svg) |
| **Windows** | MinGW (G++) | `Windows 10 19041` | ![Windows Status](https://github.com/CapsCollective/raylib-cpp-starter/workflows/windows/badge.svg) |
## Getting Started