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.
37 lines
644 B
37 lines
644 B
--- |
|
name: Build test |
|
'on': |
|
push: |
|
branches: |
|
- main |
|
pull_request: |
|
branches: |
|
- main |
|
|
|
jobs: |
|
build: |
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
fail-fast: false |
|
matrix: |
|
os: [ "alpine", "archlinux", "fedora", "ubuntu" ] |
|
|
|
container: |
|
image: ${{ matrix.os }} |
|
|
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v3 |
|
|
|
- name: Install Dependencies |
|
run: | |
|
./scripts/install-deps.sh |
|
|
|
- name: Build |
|
run: | |
|
SETUPTOOLS_SCM_PRETEND_VERSION="0" make |
|
|
|
- name: Run check |
|
run: | |
|
SETUPTOOLS_SCM_PRETEND_VERSION="0" make check
|
|
|