Skip to content

Commit

Permalink
Merge pull request #2 from Nikl174/main
Browse files Browse the repository at this point in the history
Sync development with master
  • Loading branch information
Nikl174 committed Apr 20, 2024
2 parents 8814c78 + 9bfc986 commit e513016
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CMake on linux

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
# todo improve dep install
- name: Install dependencies
run: sudo apt-get install -y liblcms2-dev colord libeasyloggingpp-dev libcolord-dev libcolord2

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
run: ctest -C ${{env.BUILD_TYPE}}

0 comments on commit e513016

Please sign in to comment.