mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-24 22:34:11 +08:00
ci: Switch Windows build to 32-bit, zipped archive
Use new esp32-toolchain Docker image for build
This commit is contained in:

committed by
Alexey Lapshin

parent
843976394d
commit
5ec2f83639
@ -4,7 +4,7 @@ stages:
|
|||||||
|
|
||||||
build_linux:
|
build_linux:
|
||||||
stage: build
|
stage: build
|
||||||
image: espressif/esp32-ci-env
|
image: espressif/esp32-toolchain
|
||||||
tags:
|
tags:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ build_linux:
|
|||||||
- echo "MAKEINFO = :" >> Makefile
|
- echo "MAKEINFO = :" >> Makefile
|
||||||
- make
|
- make
|
||||||
- make install-strip
|
- make install-strip
|
||||||
- export REL_NAME=esp32ulp-elf-binutils-`git describe --always`-linux64
|
- export REL_NAME=esp32ulp-elf-binutils-linux64-`git describe --always`
|
||||||
- mv build ${REL_NAME}
|
- mv build ${REL_NAME}
|
||||||
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
||||||
- mkdir -p dist
|
- mkdir -p dist
|
||||||
@ -29,7 +29,7 @@ build_linux:
|
|||||||
|
|
||||||
build_windows:
|
build_windows:
|
||||||
stage: build
|
stage: build
|
||||||
image: thewtex/cross-compiler-windows-x64
|
image: espressif/esp32-toolchain
|
||||||
tags:
|
tags:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
@ -48,15 +48,15 @@ build_windows:
|
|||||||
- export LD=
|
- export LD=
|
||||||
- export AS=
|
- export AS=
|
||||||
- export AR=
|
- export AR=
|
||||||
- ./configure --host=x86_64-w64-mingw32.static --target=esp32ulp-elf --prefix=$PWD/build --disable-doc --disable-gdb --disable-libdecnumber --disable-readline --disable-sim
|
- ./configure --host=i686-w64-mingw32 --target=esp32ulp-elf --prefix=$PWD/build --disable-doc --disable-gdb --disable-libdecnumber --disable-readline --disable-sim
|
||||||
- echo "MAKEINFO = :" >> Makefile
|
- echo "MAKEINFO = :" >> Makefile
|
||||||
- make
|
- make
|
||||||
- make install-strip
|
- make install-strip
|
||||||
- export REL_NAME=esp32ulp-elf-binutils-`git describe --always`-win64
|
- export REL_NAME=esp32ulp-elf-binutils-win32-`git describe --always`
|
||||||
- mv build ${REL_NAME}
|
- mv build ${REL_NAME}
|
||||||
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
- zip -r ${REL_NAME}.zip ${REL_NAME}/
|
||||||
- mkdir -p dist
|
- mkdir -p dist
|
||||||
- mv ${REL_NAME}.tar.gz dist/
|
- mv ${REL_NAME}.zip dist/
|
||||||
|
|
||||||
build_macos:
|
build_macos:
|
||||||
stage: build
|
stage: build
|
||||||
@ -80,7 +80,7 @@ build_macos:
|
|||||||
- echo "MAKEINFO = :" >> Makefile
|
- echo "MAKEINFO = :" >> Makefile
|
||||||
- make CFLAGS=-Wno-error=deprecated-declarations
|
- make CFLAGS=-Wno-error=deprecated-declarations
|
||||||
- make install-strip
|
- make install-strip
|
||||||
- export REL_NAME=esp32ulp-elf-binutils-`git describe --always`-macos
|
- export REL_NAME=esp32ulp-elf-binutils-macos-`git describe --always`
|
||||||
- mv build ${REL_NAME}
|
- mv build ${REL_NAME}
|
||||||
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
||||||
- mkdir -p dist
|
- mkdir -p dist
|
||||||
|
Reference in New Issue
Block a user