Skip to content

Create build-and-test GitHub workflow #1

Create build-and-test GitHub workflow

Create build-and-test GitHub workflow #1

Workflow file for this run

name: Build and Test
on:
pull_request:
types: [opened, reopened]
branches-ignore:
- 'gh-pages'
permissions:
- contents: read

Check failure on line 10 in .github/workflows/build_and_test.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_test.yml (Line: 10, Col: 3): A sequence was not expected

Check failure on line 10 in .github/workflows/build_and_test.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_test.yml (Line: 10, Col: 3): A sequence was not expected
jobs:
plain_makefile:
name: Build and test using plain Makefile
runs-on: 'ubuntu-20.04'
steps:
- name: Build environment setup
run: |
echo 'Nothing to do.'
echo 'GitHub runner includes tools we need already.'
- uses: actions/checkout@v4
- name: Build (make all)
run: |
make all
- name: Test (./tests.sh)
run: |
./tests.sh