Update ci.yml #5
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build dependencies | |
run: sudo apt-get install -y m4 | |
- name: Bootstrap | |
run: sh bootstrap.sh | |
- name: Configure | |
run: ./configure | |
- name: Build | |
run: make | |
- name: Run check | |
run: make check | |
- name: Test install | |
run: make install | |
crossbuild: | |
runs-on: ubuntu-latest | |
container: dockcross/linux-mips-uclibc | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bootstrap | |
run: sh bootstrap.sh | |
- name: Configure | |
run: ./configure | |
- name: Build | |
run: make | |
- name: Run check | |
run: make check | |
- name: Test install | |
run: make install |