.github: enable dependency manager for GitHub Actions #54
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, pull_request] | |
jobs: | |
whitespace-errors: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: check | |
run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
gcc13-x86_64: | |
runs-on: ubuntu-latest | |
env: | |
CC: gcc-13 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
gcc12-x86_64: | |
runs-on: ubuntu-latest | |
env: | |
CC: gcc-12 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
gcc11-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: gcc-11 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
gcc10-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: gcc-10 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
gcc9-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: gcc | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
gcc8-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: gcc-8 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang15-x86_64: | |
runs-on: ubuntu-latest | |
env: | |
CC: clang-15 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang14-x86_64: | |
runs-on: ubuntu-latest | |
env: | |
CC: clang-14 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang13-x86_64: | |
runs-on: ubuntu-latest | |
env: | |
CC: clang-13 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang12-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: clang-12 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang11-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: clang-11 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang10-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: clang | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang9-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: clang-9 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh | |
clang8-x86_64: | |
runs-on: ubuntu-20.04 | |
env: | |
CC: clang-8 | |
TARGET: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install dependencies | |
run: ci/install-dependencies.sh | |
- name: build check | |
run: ci/run-build-and-tests.sh |