File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11name : Build and Release TCC (mob branch)
22
33on :
4- workflow_dispatch :
54 push :
65 tags :
76 - " v*.*.*"
@@ -24,14 +23,20 @@ jobs:
2423 wget -O tcc-mob.zip https://github.com/Tiny-C-Compiler/mirror-repository/archive/refs/heads/mob.zip
2524 unzip tcc-mob.zip
2625 mv mirror-repository-mob tcc
27- cd tcc
2826
2927 - name : Install dependencies
3028 run : |
3129 sudo apt-get update
3230 sudo apt-get install -y build-essential mingw-w64 gcc-arm-linux-gnueabi
3331
34- - name : Configure and Build
32+ - name : Build Native TCC (for tools)
33+ run : |
34+ cd tcc
35+ ./configure
36+ make -j$(nproc)
37+ mv c2str c2str_host
38+
39+ - name : Configure and Build Cross-Compiled TCC
3540 run : |
3641 cd tcc
3742 case "${{ matrix.target }}" in
4247 ;;
4348 windows-x86_64)
4449 ./configure --cc=x86_64-w64-mingw32-gcc --prefix=/usr
45- make -j$(nproc)
50+ make -j$(nproc) HOST_C2STR=./c2str_host
4651 mv tcc.exe ../tcc-windows-x86_64.exe
4752 ;;
4853 linux-arm)
You can’t perform that action at this time.
0 commit comments