Skip to content

Commit

Permalink
Added Ubuntu24 workflows for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ioan-chera committed Jul 25, 2024
1 parent 695e3a2 commit ff38086
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ubuntu-compile-clang24.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions .github/workflows/ubuntu-compile24.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ff38086

Please sign in to comment.