mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-09 12:22:38 +01:00
commit
10db562d8d
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user