Removed unused windows files, added CI configuration.
This commit is contained in:
parent
137f26ee72
commit
8f749c1f02
|
@ -0,0 +1,12 @@
|
|||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: registry.aws.minori.work/imi415/arm-none-toolchain:latest
|
||||
commands:
|
||||
- bash build_all.sh
|
||||
|
||||
image_pull_secrets:
|
||||
- pull-secret
|
|
@ -18,10 +18,6 @@ SET(CMAKE_EXECUTABLE_LIBRARY_SUFFIX)
|
|||
# CURRENT DIRECTORY
|
||||
SET(ProjDirPath ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
SET(EXECUTABLE_OUTPUT_PATH ${ProjDirPath}/${CMAKE_BUILD_TYPE})
|
||||
SET(LIBRARY_OUTPUT_PATH ${ProjDirPath}/${CMAKE_BUILD_TYPE})
|
||||
|
||||
|
||||
project(rt1050_freertos_hello)
|
||||
|
||||
set(MCUX_SDK_PROJECT_NAME rt1050_rt1050_freertos_hello.elf)
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=debug .
|
||||
mingw32-make -j
|
||||
|
||||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=release .
|
||||
mingw32-make -j
|
||||
|
||||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=sdram_debug .
|
||||
mingw32-make -j
|
||||
|
||||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=sdram_release .
|
||||
mingw32-make -j
|
||||
|
||||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_debug .
|
||||
mingw32-make -j
|
||||
|
||||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_release .
|
||||
mingw32-make -j
|
||||
|
||||
IF "%1" == "" ( pause )
|
59
build_all.sh
59
build_all.sh
|
@ -1,43 +1,26 @@
|
|||
#!/bin/sh
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=debug .
|
||||
make -j
|
||||
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=release .
|
||||
make -j
|
||||
if [ ! -d "build" ]; then mkdir build; fi
|
||||
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=sdram_debug .
|
||||
make -j
|
||||
cd build
|
||||
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=sdram_release .
|
||||
make -j
|
||||
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_debug .
|
||||
make -j
|
||||
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_release .
|
||||
make -j
|
||||
TARGETS=(
|
||||
"debug"
|
||||
"release"
|
||||
"sdram_debug"
|
||||
"sdram_release"
|
||||
"flexspi_nor_debug"
|
||||
"flexspi_nor_release"
|
||||
)
|
||||
|
||||
for TARGET in "${TARGETS[@]}" ; do
|
||||
if [ -d "${TARGET}" ]; then rm -rf ${TARGET}; fi
|
||||
mkdir ${TARGET} && cd ${TARGET}
|
||||
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
|
||||
if [ -f "Makefile" ];then rm -f Makefile; fi
|
||||
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
|
||||
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${TARGET} ../..
|
||||
make -j
|
||||
cd ..
|
||||
done
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=debug .
|
||||
mingw32-make -j 2> build_log.txt
|
|
@ -1,6 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_debug .
|
||||
mingw32-make -j
|
|
@ -1,6 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_release .
|
||||
mingw32-make -j
|
|
@ -1,6 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=release .
|
||||
mingw32-make -j
|
|
@ -1,6 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=sdram_debug .
|
||||
mingw32-make -j
|
|
@ -1,6 +0,0 @@
|
|||
if exist CMakeFiles (RD /s /Q CMakeFiles)
|
||||
if exist Makefile (DEL /s /Q /F Makefile)
|
||||
if exist cmake_install.cmake (DEL /s /Q /F cmake_install.cmake)
|
||||
if exist CMakeCache.txt (DEL /s /Q /F CMakeCache.txt)
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=sdram_release .
|
||||
mingw32-make -j
|
Loading…
Reference in New Issue