mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-09-19 15:21:40 +02: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 update
|
||||||
sudo apt install -y gcc-6 gcc-6-multilib
|
sudo apt install -y gcc-6 gcc-6-multilib
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 1
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 1
|
||||||
|
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
- name: Make
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
- name: Test for file
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
test -f cc1
|
test -f cc1
|
||||||
file cc1
|
file cc1
|
||||||
|
|
||||||
- name: Upload output
|
- name: Upload output
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: cc1-${{ matrix.TARGET.OS }}
|
name: cc1-${{ matrix.TARGET.OS }}
|
||||||
path: cc1
|
path: |
|
||||||
|
as
|
||||||
|
cpp
|
||||||
|
cc1
|
||||||
|
xgcc
|
||||||
|
Loading…
Reference in New Issue
Block a user