Files
ComSquare/.github/workflows/build.yml
T
2020-01-30 17:39:16 +01:00

26 lines
599 B
YAML

name: Build commit artifact
on:
push:
branches:
- master
jobs:
Building:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Install the SFML.
run: sudo apt-get update &&
sudo apt-get install --yes libsfml-dev
- name: Build Makefile with CMake
run: mkdir -p build && cd build && cmake ..
- name: Build with Makefile
run: make -C build ComSquare
- name: Archive production artifact
uses: actions/upload-artifact@v1
with:
name: ComSquare
path: build/ComSquare