mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-08 20:02:47 +01:00
here goes nothin
This commit is contained in:
parent
9743dfbce0
commit
f7185d5390
39
.github/workflows/build.yml
vendored
39
.github/workflows/build.yml
vendored
@ -37,11 +37,11 @@ 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 for mips-nintendo-nu64
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
./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 }}
|
./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 everything except cpp
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -51,21 +51,34 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
test -f cc1
|
test -f cc1
|
||||||
file cc1
|
file cc1
|
||||||
- name: Upload output
|
- name: Start release archive
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cp xgcc gcc
|
||||||
|
tar -czf ${{ 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 -rzf ${{ matrix.TARGET.ARCHIVE_NAME }} cpp
|
||||||
|
- name: Upload archive
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: cc1-${{ matrix.TARGET.OS }}
|
name: cc1-${{ matrix.TARGET.OS }}
|
||||||
path: |
|
path: |
|
||||||
cpp
|
${{ matrix.TARGET.ARCHIVE_NAME }}
|
||||||
cc1
|
|
||||||
xgcc
|
|
||||||
cc1plus
|
|
||||||
g++
|
|
||||||
- name: Create release archive
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
cp xgcc gcc
|
|
||||||
tar -czf ${{ matrix.TARGET.ARCHIVE_NAME }} cpp cc1 gcc cc1plus g++
|
|
||||||
- name: Update release
|
- name: Update release
|
||||||
uses: johnwbyrd/update-release@v1.0.0
|
uses: johnwbyrd/update-release@v1.0.0
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user