moved compilation to curl section

This commit is contained in:
Václav Šmejkal 2022-05-03 18:44:28 +02:00
parent ee9e94614a
commit a083c0fe4a

View File

@ -50,7 +50,5 @@ jobs:
- name: Test WHY2 as project - name: Test WHY2 as project
run: | run: |
mkdir test && cd test mkdir test && cd test
curl -o main.c https://gist.githubusercontent.com/ENGO150/d8419b6c31ffb68ebb930a5b41af8c73/raw/bfb5399607585561a97fc25e9468d03ece860c1c/WHY2%2520Example%2520App curl -o main.c https://gist.githubusercontent.com/ENGO150/d8419b6c31ffb68ebb930a5b41af8c73/raw/bfb5399607585561a97fc25e9468d03ece860c1c/WHY2%2520Example%2520App && cc main.c -lwhy2 -lcurl -ljson-c -o main
sleep 5
cc main.c -lwhy2 -lcurl -ljson-c -o main
./main ./main