Skip to content

Update workflow syntax #2

Update workflow syntax

Update workflow syntax #2

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Installing GCC
run: 'apt-get update && apt-get install -y gcc g++'
- name: Installing Boost
run: 'apt-get install -y libboost-all-dev'
- name: Install CMAKE
run: 'pip install cmake --upgrade'
- name: Get NLOpt
run: 'git clone https://github.com/stevengj/nlopt.git'
- name: Create NLOpt folders
run: 'cd nlopt && mkdir build'
- name: Install NLOpt
run: 'cd nlopt/build/ && cmake .. && make && sudo make install'
- name: Install pyscicone
run: 'cd pyscicone && pip install -e .[test]'
- name: Test pyscicone
run: 'cd pyscicone && python3 -m pytest -s'
- name: Creating Debug Build Folder
run: 'mkdir debug'
- name: Running CMAKE
run: 'cd debug && cmake -DCMAKE_BUILD_TYPE=Debug ../scicone/'
- name: Running MAKE
run: 'cd debug && make VERBOSE=1'
- name: Unit Tests (Debug)
no_output_timeout: 60m

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

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 53, Col: 9): Unexpected value 'no_output_timeout' .github/workflows/build.yml (Line: 66, Col: 9): Unexpected value 'no_output_timeout'
run: 'cd debug && ./tests 0'
- name: Creating Release Build Folder
run: 'mkdir release'
- name: Running CMAKE
run: 'cd release && cmake -DCMAKE_BUILD_TYPE=Release ../scicone/'
- name: Running MAKE
run: 'cd release && make VERBOSE=1'
- name: Unit Tests (Release)
no_output_timeout: 60m
run: 'cd debug && ./tests 0'