mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-24 06:13:24 +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:
|
||||
stage: build
|
||||
image: espressif/esp32-ci-env
|
||||
image: espressif/esp32-toolchain
|
||||
tags:
|
||||
- build
|
||||
|
||||
@ -17,11 +17,11 @@ build_linux:
|
||||
GIT_STRATEGY: fetch
|
||||
|
||||
script:
|
||||
- ./configure --target=esp32ulp-elf --prefix=$PWD/build --disable-doc --disable-gdb --disable-libdecnumber --disable-readline --disable-sim
|
||||
- ./configure --target=esp32ulp-elf --prefix=$PWD/build --disable-doc --disable-gdb --disable-libdecnumber --disable-readline --disable-sim
|
||||
- echo "MAKEINFO = :" >> Makefile
|
||||
- make
|
||||
- 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}
|
||||
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
||||
- mkdir -p dist
|
||||
@ -29,7 +29,7 @@ build_linux:
|
||||
|
||||
build_windows:
|
||||
stage: build
|
||||
image: thewtex/cross-compiler-windows-x64
|
||||
image: espressif/esp32-toolchain
|
||||
tags:
|
||||
- build
|
||||
|
||||
@ -48,15 +48,15 @@ build_windows:
|
||||
- export LD=
|
||||
- export AS=
|
||||
- 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
|
||||
- make
|
||||
- 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}
|
||||
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
||||
- zip -r ${REL_NAME}.zip ${REL_NAME}/
|
||||
- mkdir -p dist
|
||||
- mv ${REL_NAME}.tar.gz dist/
|
||||
- mv ${REL_NAME}.zip dist/
|
||||
|
||||
build_macos:
|
||||
stage: build
|
||||
@ -80,7 +80,7 @@ build_macos:
|
||||
- echo "MAKEINFO = :" >> Makefile
|
||||
- make CFLAGS=-Wno-error=deprecated-declarations
|
||||
- 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}
|
||||
- tar czvf ${REL_NAME}.tar.gz ${REL_NAME}/
|
||||
- mkdir -p dist
|
||||
|
Reference in New Issue
Block a user