mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-28 22:29:36 +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
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -15,8 +8,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- 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
|
||||
run: cd OSBindings/SDL; scons
|
||||
working-directory: OSBindings/SDL
|
||||
run: scons -j$(nproc --all)
|
||||
|
Loading…
x
Reference in New Issue
Block a user