Skip to content

Commit

Permalink
Merge pull request #10 from pmret/build-it
Browse files Browse the repository at this point in the history
Full GCC
  • Loading branch information
ethteck authored Aug 22, 2021
2 parents d63377d + 75d3c5f commit 10db562
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 10db562

Please sign in to comment.