update workflow
This commit is contained in:
parent
10d00b58e1
commit
18d38ae394
@ -18,8 +18,10 @@ jobs:
|
||||
run: gcc -c core.c
|
||||
- name: Link program
|
||||
run: gcc f.o core.o -o core
|
||||
- name: Run program
|
||||
run: ./core
|
||||
- name: Test program
|
||||
run: |
|
||||
chmod u+x ./test.sh
|
||||
./test.sh
|
||||
|
||||
build-arch:
|
||||
runs-on: arch-prepared
|
||||
@ -36,8 +38,10 @@ jobs:
|
||||
run: gcc -c core.c
|
||||
- name: Link program
|
||||
run: gcc f.o core.o -o core
|
||||
- name: Run program
|
||||
run: ./core
|
||||
- name: Test program
|
||||
run: |
|
||||
chmod u+x ./test.sh
|
||||
./test.sh
|
||||
|
||||
build-void:
|
||||
runs-on: void-prepared
|
||||
@ -58,9 +62,11 @@ jobs:
|
||||
- name: Link program
|
||||
shell: sh
|
||||
run: gcc f.o core.o -o core
|
||||
- name: Run program
|
||||
- name: Test program
|
||||
shell: sh
|
||||
run: ./core
|
||||
run: |
|
||||
chmod u+x ./test.sh
|
||||
./test.sh
|
||||
|
||||
build-alpine:
|
||||
runs-on: alpine-prepared
|
||||
@ -81,6 +87,8 @@ jobs:
|
||||
- name: Link program
|
||||
shell: sh
|
||||
run: gcc f.o core.o -o core
|
||||
- name: Run program
|
||||
- name: Test program
|
||||
shell: sh
|
||||
run: ./core
|
||||
run: |
|
||||
chmod u+x ./test.sh
|
||||
./test.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user