-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Adding basic public CI workflow with Rocky8 und Ubuntu22
- Loading branch information
1 parent
af484dc
commit efbd4c2
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
## Copyright 2024 Intel Corporation | ||
## SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: continuous (public) | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
rocky-8: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rockylinux:8 | ||
steps: | ||
- name: Install packages (rocky 8) | ||
run: | | ||
yum -y install gcc-c++ clang tar git-lfs make tbb-devel | ||
yum -y install cmake | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Build and Run | ||
run: | | ||
gitlab/build.sh | ||
ubuntu-22_04: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ubuntu:22.04 | ||
steps: | ||
- name: Install packages (ubuntu 22.04) | ||
run: | | ||
apt-get update | ||
apt-get -y upgrade | ||
apt-get -y install g++ clang git-lfs libtbb-dev python3 pip | ||
pip install --upgrade cmake | ||
cmake --version | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Build and Run | ||
run: | | ||
gitlab/build.sh |