Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump github actions #46

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/actions/install/cmake/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
steps:
- name: Cache CMake
id: cache-cmake
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: cmake-${{ inputs.version }}
key: ${{ runner.name }}-${{ runner.os }}-${{ runner.arch }}-${{ job.container.id }}-cmake-${{ inputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/render/defaults/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ outputs:
runs:
using: composite
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
- run: npm install mustache
shell: bash
- uses: actions/github-script@v6
- uses: actions/github-script@v7
id: script
env:
TRAITS_NAME: ${{ inputs.traits_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/render/tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ inputs:
runs:
using: composite
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
- run: npm install mustache
shell: bash
- uses: actions/github-script@v6
- uses: actions/github-script@v7
env:
TRAITS_NAME: ${{ inputs.traits_name }}
SUITE_NAME: ${{ inputs.test_suite_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
root-hint-install-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest

- name: setup
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,28 @@ 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
sudo apt-get update
sudo apt-get install -y build-essential autoconf automake libtool libgmp-dev libmpfr-dev libmpc-dev

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

wget https://trac.macports.org/raw-attachment/ticket/53076/patch-gcc46-texi.diff
git apply patch-gcc46-texi.diff
wget https://raw.githubusercontent.com/ChrisMacGregor/esp-open-sdk/master/1001-fix-reload1-compile-error.patch
git apply 1001-fix-reload1-compile-error.patch
wget -O ec1cc0.patch https://gist.githubusercontent.com/prince-chrismc/c27afb5f87dae1a7ea76341218672088/raw/923bade73ac1c848fe841599a2d469caac8e16f2/gcc4.8-ec1cc0.patch
cat ec1cc0.patch
git apply ec1cc0.patch

./configure --prefix ${{ github.workspace }}/gcc --enable-languages=c,c++ --disable-libada --disable-libssp
make -j $(nproc)
sduo make install

- uses: actions/checkout@v4
- uses: ./.github/actions/install/cmake
with:
version: "3.26.3"
Expand Down