Skip to content

Commit 4458f81

Browse files
authored
Update CI workflow to build and run gpt2
1 parent 1d86809 commit 4458f81

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

1413
steps:
1514
- uses: actions/checkout@v4
16-
- name: configure
17-
run: ./configure
18-
- name: make
19-
run: make
20-
- name: make check
21-
run: make check
22-
- name: make distcheck
23-
run: make distcheck
15+
16+
- name: Build
17+
run: gcc -O3 -mavx -pthread -o gpt2 gpt2_opt.c -lm
18+
19+
- name: Run
20+
run: ./gpt2

0 commit comments

Comments
 (0)