Merge pull request #10 from pmret/build-it

Full GCC
This commit is contained in:
Ethan Roseman 2021-08-23 00:13:35 +09:00 committed by GitHub
commit 10db562d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,27 +35,28 @@ jobs:
sudo apt update
sudo apt install -y gcc-6 gcc-6-multilib
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 1
- name: Configure
shell: bash
run: |
./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --disable-gprof --disable-gdb --disable-werror --host=${{ matrix.TARGET.HOST }} --build=${{ matrix.TARGET.HOST }}
./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --with-gnu-as --disable-gprof --disable-gdb --disable-werror --host=${{ matrix.TARGET.HOST }} --build=${{ matrix.TARGET.HOST }}
- name: Make
continue-on-error: true
shell: bash
run: |
make CFLAGS="${{ matrix.TARGET.CFLAGS }}"
make cpp CFLAGS="${{ matrix.TARGET.CFLAGS }}"
make cc1 CFLAGS="${{ matrix.TARGET.CFLAGS }}"
make xgcc CFLAGS="${{ matrix.TARGET.CFLAGS }}"
- name: Test for file
shell: bash
run: |
test -f cc1
file cc1
- name: Upload output
uses: actions/upload-artifact@v2
with:
name: cc1-${{ matrix.TARGET.OS }}
path: cc1
path: |
as
cpp
cc1
xgcc