43
43
gnu-tar help2man ncurses
44
44
- name : " build ct-ng"
45
45
run : |
46
- export HOMEBREW_ROOT="/usr/local"
47
- export PATH="$PATH:${HOMEBREW_ROOT}/opt/binutils/bin"
48
- export CPPFLAGS="-I${HOMEBREW_ROOT}/opt/ncurses/include -I${HOMEBREW_ROOT}/opt/gettext/include"
49
- export LDFLAGS="-L${HOMEBREW_ROOT}/opt/ncurses/lib -L${HOMEBREW_ROOT}/opt/gettext/lib"
50
46
./go.sh cmake
51
47
- name : " preload sources"
52
48
run : |
65
61
- name : " upload cmake"
66
62
uses : actions/upload-artifact@v2
67
63
with :
68
- name : cmake.x86_64.tar.bz2
69
- path : /Volumes/CrossToolNGNew/cmake.x86_64.tar.bz2
64
+ name : cmake.macos. x86_64.tar.bz2
65
+ path : /Volumes/CrossToolNGNew/cmake.macos. x86_64.tar.bz2
70
66
- name : " prep to upload"
71
67
continue-on-error : true
72
68
run : |
@@ -118,12 +114,6 @@ jobs:
118
114
brew install autoconf automake bash binutils gawk gnu-sed \
119
115
gnu-tar help2man ncurses pkg-config
120
116
echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH
121
- - name : " prep ${{ matrix.sample }}.config"
122
- run : |
123
- sed -i -e '/CT_GDB_CROSS_PYTHON_BINARY/d' configs/${{ matrix.sample }}.config
124
- sed -i -e '/CT_GDB_CROSS_BUILD_NO_PYTHON/d' configs/${{ matrix.sample }}.config
125
- sed -i -e '/^CT_CC_GCC_EXTRA_CONFIG_ARRAY=/ s/"$/ --without-zstd"/' configs/${{ matrix.sample }}.config
126
- echo "# CT_GDB_CROSS_PYTHON is not set" >> configs/${{ matrix.sample }}.config
127
117
- name : " build ${{ matrix.sample }} for ${{ matrix.host }}"
128
118
run : |
129
119
./go.sh ${{ matrix.sample }}
@@ -134,10 +124,10 @@ jobs:
134
124
cd /Volumes/CrossToolNGNew/build/output
135
125
case "${TARGET}" in
136
126
xtensa_*)
137
- tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.$MACHINE.tar.bz2 xtensa/${TARGET#xtensa_}/*-zephyr-*;
127
+ tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.macos. $MACHINE.tar.bz2 xtensa/${TARGET#xtensa_}/*-zephyr-*;
138
128
;;
139
129
*)
140
- tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.$MACHINE.tar.bz2 *-zephyr-*;
130
+ tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.macos. $MACHINE.tar.bz2 *-zephyr-*;
141
131
;;
142
132
esac
143
133
- name : " upload xtensa build log"
0 commit comments