mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-19 05:11:17 +00:00
26 lines
599 B
YAML
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
|