Skip to content

Create GitHub workflows #4

Create GitHub workflows

Create GitHub workflows #4

Workflow file for this run

name: Build project
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
container: ubuntu:18.04
steps:
- uses: actions/checkout@v2
- name: Get short SHA
id: slug
run: echo "::set-output name=sha7::$(git rev-parse --short HEAD)"
- name: Update and install packages
run: |
apt-get -qq update
ACCEPT_EULA=Y apt-get -y dist-upgrade
apt-get -y install g++ build-essential make autoconf libglfw3-dev libsdl2-image-dev libsdl2-dev libczmq-dev cppcheck
- name: Build from makefile
working-directory: Project
run: |
make -j 4
- name: Upload ELF
working-directory: Project
uses: actions/upload-artifact@v2

Check failure on line 25 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build project

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 25, Col: 9): Unexpected value 'uses' .github/workflows/build.yml (Line: 26, Col: 9): Unexpected value 'with'
with:
name: meshglide
path: meshglide
build-windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Get short SHA
id: slug
run: echo "::set-output name=sha7::$(git rev-parse --short HEAD)"
- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
- name: Install vcpkg dependencies
run: |
cd vcpkg
vcpkg.exe install --triplet x64-windows-static --overlay-tripletscript