Skip to content

Commit

Permalink
Update GHA to checkout v4 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Jun 10, 2024
1 parent 6e375a4 commit c88b4b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,32 @@ jobs:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
build_type: [Debug, Release]
compiler: [clang++-10, clang++-12, g++-11]
# include:
# - os: windows-latest
# build_type: Debug
# compiler: msvc
# - os: windows-latest
# build_type: Release
# compiler: msvc
compiler: [clang++-10, clang++-12, clang++-15]
exclude:
- os: ubuntu-22.04
compiler: clang++-10
- os: ubuntu-20.04
compiler: clang++-15

steps:
- name: Install packages
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev
- name: Install clang 15
if: matrix.compiler == 'clang++-15'
run: sudo apt install clang-15

- name: Install clang 12
if: matrix.compiler == 'clang++-12'
run: sudo apt install clang-12

- name: Install GCC 11
if: matrix.compiler == 'g++-11'
run: sudo apt install g++-11 libstdc++-10-dev

- name: Install clang 10
if: matrix.compiler == 'clang++-10'
run: sudo apt install clang-10 libc++-10-dev

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build/${{ matrix.build_type }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down

0 comments on commit c88b4b6

Please sign in to comment.