Skip to content

Commit

Permalink
Add CI jobs for testing with g++ 11, Clang 14 on Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
runejuhl committed Jul 7, 2022
1 parent 3529b30 commit b2756ac
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,34 @@ jobs:
./build/encoding_and_decoding
./build/key_from_raw_data
clang-14:
name: clang++-14
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- name: submodules
run: git submodule update --init --recursive
- name: dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsodium-dev libcrypto++-dev libboost-all-dev
- name: cmake
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-14
- name: build
run: cmake --build build -j$(nproc)
- name: test
run: ./build/tests/tests
- name: examples
run: |
sudo make install -C build
cd examples
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-14
make -C build
./build/create_simple_packet
./build/encoding_and_decoding
./build/key_from_raw_data
gcc-minimum:
name: g++-8
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -123,3 +151,31 @@ jobs:
./build/create_simple_packet
./build/encoding_and_decoding
./build/key_from_raw_data
gcc-11:
name: g++-11
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- name: submodules
run: git submodule update --init --recursive
- name: dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsodium-dev libcrypto++-dev libboost-all-dev
- name: cmake
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-11
- name: build
run: cmake --build build -j$(nproc)
- name: test
run: ./build/tests/tests
- name: examples
run: |
sudo make install -C build
cd examples
cmake -B build -DCMAKE_CXX_COMPILER=g++-11
make -C build
./build/create_simple_packet
./build/encoding_and_decoding
./build/key_from_raw_data

0 comments on commit b2756ac

Please sign in to comment.