Verify configured environment

Try compiling some C code, If it works then we're probably fine.
I don't even try to verify cross-compilation because I don't need it.
It should work, but that's not my problem right now.
This commit is contained in:
ilammy
2019-10-02 00:48:20 +03:00
parent cc105e3302
commit d33b04e19c
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -22,3 +22,7 @@ jobs:
run: npm install run: npm install
- name: Enable Developer Command Prompt - name: Enable Developer Command Prompt
uses: ./ uses: ./
- name: Compile and run some C code
run: |
cl.exe hello.c
hello.exe
+7
View File
@@ -0,0 +1,7 @@
#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello, world!\n");
return 0;
}