Skip to content

Commit 7c14059

Browse files
authored
Create c-cpp.yml
Added github actions
1 parent d72d49a commit 7c14059

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
permissions:
12+
contents: read
13+
14+
runs-on: ubuntu-latest
15+
container:
16+
image: ghcr.io/QBos07/hollyhock-3
17+
credentials:
18+
username: ${{ github.actor }}
19+
password: ${{ secrets.github_token }}
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: make
24+
run: make
25+
- uses: actions/upload-artifact@v4
26+
with:
27+
path: dist

0 commit comments

Comments
 (0)