-
Notifications
You must be signed in to change notification settings - Fork 25
56 lines (47 loc) · 1.19 KB
/
public.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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: |
scripts/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: |
scripts/build.sh