mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-20 06:25:01 +00:00
ccpp.yml: Changes
Build all branches. Delete whitespace. Use checkout v2. Change ; to &&. Use working-directory instead of cd. Add -j to speed up build.
This commit is contained in:
parent
a9de745e51
commit
fc3a03a856
16
.github/workflows/ccpp.yml
vendored
16
.github/workflows/ccpp.yml
vendored
@ -1,13 +1,6 @@
|
|||||||
name: SDL/Ubuntu
|
name: SDL/Ubuntu
|
||||||
|
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -15,8 +8,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get --allow-releaseinfo-change update; sudo apt-get --fix-missing install libsdl2-dev scons
|
run: sudo apt-get --allow-releaseinfo-change update && sudo apt-get --fix-missing install libsdl2-dev scons
|
||||||
- name: Make
|
- name: Make
|
||||||
run: cd OSBindings/SDL; scons
|
working-directory: OSBindings/SDL
|
||||||
|
run: scons -j$(nproc --all)
|
||||||
|
Loading…
Reference in New Issue
Block a user