-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (28 loc) · 1004 Bytes
/
test.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
name: output for config
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [ push, pull_request ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
name: test dev
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# ensure the path and files of project
- name: ensure the path and files of project
run: sudo apt-get install tree ;tree
- name: system
run: uname -a
- name: hardwares - cpu
run: nproc; cat /proc/cpuinfo
- name: hardwares - memory
run: cat /proc/meminfo | grep MemTotal
- name: hardwares - disk
run: df -lh
- name: Use cmake
run: cmake --version
- name: tree
run: tree
# This workflow contains a single job called "build"