Skip to content

Commit

Permalink
try compiling gcc from source
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc authored Apr 28, 2024
1 parent a84fee9 commit 54b82c3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,19 @@ jobs:
gcc-4-8:
name: GCC 4.8
runs-on: ubuntu-latest
container:
image: ubuntu:bionic-20230530 # 18.04
env:
CC: /usr/bin/gcc-4.8
CXX: /usr/bin/g++-4.8
steps:
- run: |
apt-get update
apt-get install -y g++-4.8 wget make libssl-dev
- uses: actions/checkout@v3 # Can not be upgrade as v4 needs NodeJS 20 doesn't exist next to gcc-4.8
apt-get install -y build-essential autoconf automake libtool
wget https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.8.5/gcc-4.8.5.tar.bz2
tar -xjf gcc-4.8.5.tar.bz2
cd gcc-4.8.5
./configure --target=${{ runner.arch }} --prefix ${{ github.workspace }}/gcc
make -j $(nproc)
make install
- uses: actions/checkout@v4
- uses: ./.github/actions/install/cmake
with:
version: "3.26.3"
Expand Down

0 comments on commit 54b82c3

Please sign in to comment.