Create build-and-test GitHub workflow #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
|
||
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 |