Made actions only collect artifacts on failure
This commit is contained in:
parent
1b7a161c98
commit
e20e5b31fc
1
.github/workflows/macOS.yml
vendored
1
.github/workflows/macOS.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
|||||||
- name: make test
|
- name: make test
|
||||||
run: make test
|
run: make test
|
||||||
- name: save logs as artifact
|
- name: save logs as artifact
|
||||||
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
|
3
.github/workflows/ubuntu.yml
vendored
3
.github/workflows/ubuntu.yml
vendored
@ -19,8 +19,9 @@ jobs:
|
|||||||
- name: make setup
|
- name: make setup
|
||||||
run: make setup
|
run: make setup
|
||||||
- name: make test
|
- name: make test
|
||||||
run: make test
|
run: make test
|
||||||
- name: save logs as artifact
|
- name: save logs as artifact
|
||||||
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs
|
||||||
|
1
Makefile
1
Makefile
@ -74,7 +74,6 @@ clean:
|
|||||||
|
|
||||||
check:
|
check:
|
||||||
# Search the execution log for mention of raylib starting
|
# Search the execution log for mention of raylib starting
|
||||||
cat $(tempDir)/execute.log
|
|
||||||
$(eval VAR = $(shell grep -c "raylib" $(tempDir)/execute.log))
|
$(eval VAR = $(shell grep -c "raylib" $(tempDir)/execute.log))
|
||||||
if [ $(VAR) -gt 0 ];\
|
if [ $(VAR) -gt 0 ];\
|
||||||
then echo "Application was started";\
|
then echo "Application was started";\
|
||||||
|
@ -16,9 +16,9 @@ So that being said, we hope that this repository finds you well and wholehearted
|
|||||||
### Current Compatibility
|
### Current Compatibility
|
||||||
| OS | Default Compiler | Last Built On | Status |
|
| OS | Default Compiler | Last Built On | Status |
|
||||||
| ----------- | ---------------- | ------------------ | -------- |
|
| ----------- | ---------------- | ------------------ | -------- |
|
||||||
| **macOS** | Clang++ | `Big Sur 11.0.1` |  |
|
| **macOS** | Clang++ | `Big Sur 11.0.1` |  |
|
||||||
| **Linux** | G++ | `Ubuntu 20.04 LTS` |  |
|
| **Linux** | G++ | `Ubuntu 20.04 LTS` |  |
|
||||||
| **Windows** | MinGW (G++) | `Windows 10 19041` |  |
|
| **Windows** | MinGW (G++) | `Windows 10 19041` |  |
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user