-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] now use ubuntu 22.04 as the main os to check build compatibility…
…; Drop gcc-8, clang-6, clang-7, clang-8, clang-9 support
- Loading branch information
Showing
6 changed files
with
88 additions
and
63 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,20 @@ on: | |
jobs: | ||
change_detect: | ||
name: "Check" | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- name: "C/C++" | ||
code_type: "-cpp" | ||
dependency_version: "ubuntu22p04" | ||
- name: "XML" | ||
code_type: "-xml" | ||
dependency_version: "ubuntu22p04" | ||
- name: "Python" | ||
code_type: "-py" | ||
dependency_version: "ubuntu22p04" | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/[email protected] | ||
|
@@ -34,12 +37,12 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: | | ||
sudo bash ./.github/workflows/install_dependencies_build.sh | ||
sudo bash ./.github/workflows/install_dependencies_build_${{ matrix.config.dependency_version }}.sh | ||
sudo python3 -m pip install -r requirements.txt | ||
- name: Dump tool versions | ||
run: | | ||
clang-format-10 --version | ||
clang-format-14 --version | ||
black --version | ||
- name: Check format | ||
|
File renamed without changes.
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
File renamed without changes.