Skip to content

Commit f452acd

Browse files
Create cmake-single-platform.yml
1 parent 6ca5baa commit f452acd

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: build-newofetch
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Install build tools
17+
run: sudo apt update && sudo apt install -y build-essential
18+
19+
- name: Compile newofetch
20+
run: gcc -O2 newofetch.c -o newofetch
21+
22+
- name: Run newofetch
23+
run: ./newofetch

0 commit comments

Comments
 (0)