Update workflow

This commit is contained in:
Tyler Wilding
2020-09-04 20:40:07 -04:00
parent 44f0fd054d
commit f38ed57ed5
4 changed files with 417 additions and 48 deletions
-27
View File
@@ -1,27 +0,0 @@
name: Linux Workflow
on: [push, pull_request]
jobs:
build:
name: Build and Test Project (Linux)
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Get Package Dependencies
run: sudo apt install gcc make cmake build-essential g++ nasm clang-format
- name: Initialize Submodules
run: git submodule update --init --recursive
- name: Build Project with CMake
run: |
mkdir build
cd build
cmake ..
make -j
- name: Test Project with gTest
run: ./test.sh
timeout-minutes: 5
- name: Check Clang-Formatting
run: |
chmod +x ./third-party/run-clang-format/run-clang-format.py
./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test --color always