Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
name: CMake on multiple platforms

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
Expand All @@ -13,23 +14,22 @@ env:

jobs:
build_linux:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
timeout-minutes: 180

strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false

matrix:
os: [ubuntu-latest]
build_type: [Release]
c_compiler: [gcc, clang]
include:
- os: ubuntu-latest
- os: ubuntu:20.04
build_type: Release
c_compiler: gcc
cpp_compiler: g++
cpack: tgz
- os: ubuntu-latest
- os: ubuntu:20.04
build_type: Release
c_compiler: clang
cpp_compiler: clang++
cpack: tgz
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Install basic dependencies
run: |
sudo apt-get update
sudo apt-get install -y libpcap-dev
sudo apt-get install -y libpcap-dev mono-runtime

- uses: actions/checkout@v4

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results ${{ matrix.os }}-${{ matrix.c_compiler }}
name: Test Results ubuntu-${{ matrix.c_compiler }}
path: ${{ steps.strings.outputs.build-output-dir }}/Testing/Temporary/LastTest.log
retention-days: 7

Expand All @@ -88,7 +88,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v4
with:
name: asam-cmp-${{ matrix.os }}-${{ matrix.c_compiler }}
name: asam-cmp-ubuntu-${{ matrix.c_compiler }}
path: ${{ env.package_path }}
retention-days: 7

Expand Down
Loading