Update build.yml

This commit is contained in:
Ethan Roseman 2021-10-26 01:05:12 +09:00 committed by GitHub
parent f018cf91fb
commit 95b0c6d6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,25 @@ jobs:
shell: bash
run: |
cp xgcc gcc
tar -czf ${{ matrix.TARGET.ARCHIVE_NAME }} cc1 gcc cc1plus g++ cpp
tar -cf ${{ matrix.TARGET.ARCHIVE_NAME }} cc1 gcc cc1plus g++
- name: Clean
shell: bash
run: |
make clean
- name: Configure for mips
shell: bash
run: |
./configure --target=mips --prefix=/opt/cross --with-gnu-as --disable-gprof --disable-gdb --disable-werror --host=${{ matrix.TARGET.HOST }} --build=${{ matrix.TARGET.HOST }}
- name: Make cpp
continue-on-error: true
shell: bash
run: |
make cpp CFLAGS="${{ matrix.TARGET.CFLAGS }}"
- name: Add cpp to release archive
shell: bash
run: |
tar -uf ${{ matrix.TARGET.ARCHIVE_NAME }} cpp
gzip -9 ${{ matrix.TARGET.ARCHIVE_NAME }}
- name: Upload archive
uses: actions/upload-artifact@v2
with: