You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

83 lines
2.2 KiB

name: Test
on: [push, pull_request]
jobs:
ecmatest:
name: Ecmatest
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt -qqy update
sudo apt -qqy install build-essential make python python-yaml bc git nodejs
- name: Build
run: |
make build/duk
- name: Ecmatest
run: |
make ecmatest
apitest:
name: Apitest
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt -qqy update
sudo apt -qqy install build-essential make python python-yaml bc git nodejs
- name: Build
run: |
make build/duk
- name: Apitest
run: |
make apitest
misctests:
name: Misc tests
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt -qqy update
sudo apt -qqy install build-essential make python python-yaml bc git nodejs valgrind
- name: Configure test
run: |
make configuretest
- name: Error inject test
run: |
make errorinjecttest
lint:
name: Lint
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt -qqy update
sudo apt -qqy install build-essential make python python-yaml bc git tidy
- name: Codepolicycheck
run: |
CI=1 make codepolicycheck
- name: Tidy-site
run: |
make tidy-site
sourceformat:
name: Source format
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt -qqy update
sudo apt -qqy install make python zip unzip
- name: Build clang-format docker image
run: |
make docker-image-clang-format
- name: Reformat source, check for diff
run: |
make clang-format-source-check