mirror of
https://github.com/Maschell/SDL2_Playground.git
synced 2024-11-15 17:45:05 +01:00
20 lines
681 B
YAML
20 lines
681 B
YAML
|
name: linux-x86-64 building.
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
jobs:
|
||
|
build-binary:
|
||
|
runs-on: ubuntu-18.04
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: build binary
|
||
|
run: |
|
||
|
docker build . -f Dockerfile.pc -t sdl2_playground-builder-pc
|
||
|
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-pc bash -c "cd .. && bash filelist.sh"
|
||
|
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-pc cmake ..
|
||
|
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-pc make
|
||
|
- uses: actions/upload-artifact@master
|
||
|
with:
|
||
|
name: linux-x86-64-shared binary
|
||
|
path: "./cmake-build/SDL2_Playground"
|