File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed
Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2006-2023, Knut Reinert & Freie Universität Berlin
2+ # SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik
3+ # SPDX-License-Identifier: CC0-1.0
4+
5+ name : CMake
6+
7+ on :
8+ push :
9+ branches :
10+ - ' main'
11+ pull_request :
12+ workflow_dispatch :
13+
14+ concurrency :
15+ group : cmake-${{ github.event.pull_request.number || github.ref }}
16+ cancel-in-progress : ${{ github.event_name != 'push' }}
17+
18+ env :
19+ TZ : Europe/Berlin
20+
21+ defaults :
22+ run :
23+ shell : bash -Eexuo pipefail {0}
24+
25+ jobs :
26+ build :
27+ name : " Install"
28+ runs-on : ubuntu-22.04
29+ timeout-minutes : 120
30+ steps :
31+ - name : Checkout
32+ uses : actions/checkout@v4
33+ with :
34+ path : repo
35+ fetch-depth : 1
36+ submodules : true
37+
38+ - name : Install CMake
39+ uses : seqan/actions/setup-cmake@main
40+ with :
41+ cmake : 3.16.9
42+
43+ - name : Setup compiler
44+ uses : seqan/actions/setup-compiler@main
45+ with :
46+ compiler : gcc-13
47+
48+ - name : Build and install files
49+ run : |
50+ mkdir build
51+ cd build
52+ cmake ../repo
53+ make install DESTDIR=rootfs
Original file line number Diff line number Diff line change @@ -31,4 +31,5 @@ write_basic_package_version_file (
3131 COMPATIBILITY AnyNewerVersion )
3232install (FILES ${version_file} DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/tdl)
3333
34- install (FILES "${CMAKE_CURRENT_LIST_DIR} /../LICENSE.md" "${CMAKE_CURRENT_LIST_DIR} /../README.md" TYPE DOC)
34+ install (FILES "${CMAKE_CURRENT_LIST_DIR} /../README.md" TYPE DOC)
35+ install (DIRECTORY "${CMAKE_CURRENT_LIST_DIR} /../LICENSES" TYPE DOC)
You can’t perform that action at this time.
0 commit comments