diff --git a/.github/workflows/ubuntu-compile-clang24.yml b/.github/workflows/ubuntu-compile-clang24.yml new file mode 100644 index 00000000..d4c76ab4 --- /dev/null +++ b/.github/workflows/ubuntu-compile-clang24.yml @@ -0,0 +1,21 @@ +name: C/C++ CI clang Ubuntu24 + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v2 + - name: Install Dependencies + run: sudo apt-get update && sudo apt-get install --fix-missing clang cmake libfltk1.3-dev libxpm-dev libz-dev python3 + - name: CMake + run: export CC=/usr/bin/clang && export CXX=/usr/bin/clang++ && mkdir build-clang && cd build-clang && cmake .. && make -j$(nproc) + - name: Test + run: cd build-clang && ctest --output-on-failure diff --git a/.github/workflows/ubuntu-compile24.yml b/.github/workflows/ubuntu-compile24.yml new file mode 100644 index 00000000..1c0f707b --- /dev/null +++ b/.github/workflows/ubuntu-compile24.yml @@ -0,0 +1,21 @@ +name: C/C++ CI gcc Ubuntu24 + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v2 + - name: Install Dependencies + run: sudo apt-get update && sudo apt-get install --fix-missing cmake libfltk1.3-dev libxpm-dev libz-dev python3 + - name: CMake + run: mkdir build && cd build && cmake .. && make -j$(nproc) + - name: Test + run: cd build && ctest --output-on-failure