2020 id : check-cache
2121 uses : actions/cache@main
2222 with :
23- key : gcc-15.2.1
23+ key : gcc-15
2424 lookup-only : true
2525 path : |
2626 /tmp/x86_64-linux-gnu.tar.xz
6666 if : ${{ steps.check-cache.outputs.cache-hit != 'true' }}
6767 uses : actions/cache@main
6868 with :
69- key : gcc-15.2.1
69+ key : gcc-15
7070 path : |
7171 /tmp/x86_64-linux-gnu.tar.xz
7272 /tmp/x86_64-linux-gnu.tar.xz.sha256
@@ -124,7 +124,7 @@ jobs:
124124 - name : Restore from cache
125125 uses : actions/cache@main
126126 with :
127- key : gcc-15.2.1
127+ key : gcc-15
128128 fail-on-cache-miss : true
129129 path : |
130130 /tmp/x86_64-linux-gnu.tar.xz
@@ -148,9 +148,9 @@ jobs:
148148 export RAIDEN_HOME='/tmp/raiden'
149149 export PATH="${RAIDEN_HOME}/bin:${PATH}"
150150
151- source "${RAIDEN_HOME}/usr/local/share/raiden /autotools/${{ matrix.target }}.sh"
151+ source "${RAIDEN_HOME}/build /autotools/${{ matrix.target }}.sh"
152152 elif [[ '${{ matrix.target }}' = *'-linux-gnu'* ]]; then
153- declare -r OBGGCC_TAG='gcc-15 '
153+ declare -r OBGGCC_TAG='gcc-16 '
154154 declare -r OBGGCC_TARBALL='/tmp/toolchain.tar.xz'
155155 declare -r OBGGCC_URL="https://github.com/AmanoTeam/obggcc/releases/download/${OBGGCC_TAG}/x86_64-unknown-linux-gnu.tar.xz"
156156
@@ -160,7 +160,7 @@ jobs:
160160 export OBGGCC_HOME='/tmp/obggcc'
161161 export PATH="${OBGGCC_HOME}/bin:${PATH}"
162162
163- source "${OBGGCC_HOME}/usr/local/share/obggcc /autotools/${{ matrix.target }}.sh"
163+ source "${OBGGCC_HOME}/build /autotools/${{ matrix.target }}.sh"
164164 elif [[ '${{ matrix.target }}' = *'-freebsd' ]]; then
165165 declare -r LOKI_TAG='gcc-15'
166166 declare -r LOKI_TARBALL='/tmp/toolchain.tar.xz'
@@ -172,7 +172,7 @@ jobs:
172172 export LOKI_HOME='/tmp/loki'
173173 export PATH="${LOKI_HOME}/bin:${PATH}"
174174
175- source "${LOKI_HOME}/usr/local/share/loki /autotools/${{ matrix.target }}.sh"
175+ source "${LOKI_HOME}/build /autotools/${{ matrix.target }}.sh"
176176 elif [[ '${{ matrix.target }}' = *'-netbsd'* ]]; then
177177 declare -r DAKINI_TAG='gcc-15'
178178 declare -r DAKINI_TARBALL='/tmp/toolchain.tar.xz'
@@ -184,7 +184,7 @@ jobs:
184184 export DAKINI_HOME='/tmp/dakini'
185185 export PATH="${DAKINI_HOME}/bin:${PATH}"
186186
187- source "${DAKINI_HOME}/usr/local/share/dakini /autotools/${{ matrix.target }}.sh"
187+ source "${DAKINI_HOME}/build /autotools/${{ matrix.target }}.sh"
188188 elif [[ '${{ matrix.target }}' = *'-dragonfly' ]]; then
189189 # declare -r VENTI_TAG='gcc-15'
190190 # declare -r VENTI_TARBALL='/tmp/toolchain.tar.xz'
@@ -196,7 +196,7 @@ jobs:
196196 # export VENTI_HOME='/tmp/venti'
197197 export PATH="${VENTI_HOME}/bin:${PATH}"
198198
199- source "${VENTI_HOME}/usr/local/share/venti /autotools/${{ matrix.target }}.sh"
199+ source "${VENTI_HOME}/build /autotools/${{ matrix.target }}.sh"
200200 elif [[ '${{ matrix.target }}' = *'-haiku' ]]; then
201201 declare -r SIL_TAG='gcc-15'
202202 declare -r SIL_TARBALL='/tmp/toolchain.tar.xz'
@@ -208,7 +208,7 @@ jobs:
208208 export SIL_HOME='/tmp/sil'
209209 export PATH="${SIL_HOME}/bin:${PATH}"
210210
211- source "${SIL_HOME}/usr/local/share/sil /autotools/${{ matrix.target }}.sh"
211+ source "${SIL_HOME}/build /autotools/${{ matrix.target }}.sh"
212212 elif [[ '${{ matrix.target }}' = *'-android'* ]]; then
213213 declare -r PINO_TAG='gcc-15'
214214 declare -r PINO_TARBALL='/tmp/toolchain.tar.xz'
@@ -220,7 +220,7 @@ jobs:
220220 export PINO_HOME='/tmp/pino'
221221 export PATH="${PINO_HOME}/bin:${PATH}"
222222
223- source "${PINO_HOME}/usr/local/share/pino /autotools/${{ matrix.target }}.sh"
223+ source "${PINO_HOME}/build /autotools/${{ matrix.target }}.sh"
224224 elif [[ '${{ matrix.target }}' = *'-darwin' ]]; then
225225 curl \
226226 --silent \
@@ -232,7 +232,7 @@ jobs:
232232 export DARWIN_HOME='/tmp/darwin'
233233 export PATH="${DARWIN_HOME}/bin:${PATH}"
234234
235- source "${DARWIN_HOME}/usr/local/share/darwin /autotools/${{ matrix.target }}.sh"
235+ source "${DARWIN_HOME}/build /autotools/${{ matrix.target }}.sh"
236236 fi
237237
238238 bash './build.sh' '${{ matrix.target }}'
@@ -279,12 +279,11 @@ jobs:
279279 uses : softprops/action-gh-release@master
280280 with :
281281 tag_name : gcc-15
282- name : GCC 15.2.1
282+ name : GCC 15
283283 files : ./*/*-unknown-*.tar.xz*
284284 draft : false
285285 prerelease : false
286286 fail_on_unmatched_files : true
287- body : " * Update to GCC 15.2.1 "
287+ body : " * Update to GCC 15"
288288 env :
289289 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
290-
0 commit comments