-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (59 loc) · 1.83 KB
/
workflow.yaml
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
57
58
59
60
61
62
63
64
65
66
67
name: CompareCache
on: push
jobs:
gather-system-info:
runs-on: ${{ matrix.os }}"
strategy:
matrix:
OS: [ubuntu-22.04, depot-ubuntu-22.04]
steps:
- name: Gather System Information
run: |
echo "### CPU Information ###"
lscpu
echo "\n### Memory Information ###"
free -h
echo "\n### Disk Space Usage ###"
df -h
echo "\n### Operating System Details ###"
uname -a
echo "\n### CPU Details from /proc/cpuinfo ###"
grep 'model name' /proc/cpuinfo | uniq
echo "\n### Total Number of CPU Cores ###"
nproc
echo "\n### Total Number of CPU Threads ###"
lscpu | grep "Thread(s) per core"
echo "\n### Disk Details ###"
lsblk
# Tests concluded. Now checking system specs.
# build:
# name: "Build: ${{ matrix.os }}"
# runs-on: ${{ matrix.os }}
# timeout-minutes: 60
# strategy:
# matrix:
# OS: [ubuntu-22.04, depot-ubuntu-22.04 ]
# NODE_VERSION: [20]
# fail-fast: true
# steps:
# # Disable crlf so all OS can share the same Turbo cache
# # https://github.com/actions/checkout/issues/135
# - name: Disable git crlf
# run: git config --global core.autocrlf false
# - name: Checkout
# uses: actions/checkout@v4
# with:
# repository: vercel/next.js
# ref: v14.2.12
# fetch-depth: 0
# - name: Setup PNPM
# uses: pnpm/action-setup@v3
# - name: Setup node@${{ matrix.NODE_VERSION }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.NODE_VERSION }}
# cache: "pnpm"
# - name: Install dependencies
# run: pnpm install
# - name: Build Packages
# run: pnpm run build