mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-28 16:17:51 +01:00
Compare commits
4 Commits
07f24c43f2
...
1f2f4ba774
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f2f4ba774 | |||
| a6c23178f9 | |||
| 6937fba0a3 | |||
| d68b057292 |
14
.github/workflows/ficus.yml
vendored
14
.github/workflows/ficus.yml
vendored
@@ -2,9 +2,9 @@ name: Ficus build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: [ "main" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: [ "main" ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Debug
|
BUILD_TYPE: Debug
|
||||||
@@ -25,6 +25,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -y cmake build-essential pax gcc g++ nasm bison bzip2 flex mtools texinfo libgmp-dev libmpfr-dev libmpc-dev xorriso ccache
|
run: sudo apt-get update && sudo apt-get install -y cmake build-essential pax gcc g++ nasm bison bzip2 flex mtools texinfo libgmp-dev libmpfr-dev libmpc-dev xorriso ccache
|
||||||
|
|
||||||
|
- name: Create ccache dir
|
||||||
|
run: mkdir ~/ccache-cache
|
||||||
|
|
||||||
- name: CCache cache
|
- name: CCache cache
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -39,6 +42,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ccache -p
|
ccache -p
|
||||||
which gcc
|
which gcc
|
||||||
|
which g++
|
||||||
|
|
||||||
- name: Cache generic toolchain
|
- name: Cache generic toolchain
|
||||||
id: cache-toolchain
|
id: cache-toolchain
|
||||||
@@ -108,10 +112,11 @@ jobs:
|
|||||||
id: cache-toolchain-s2
|
id: cache-toolchain-s2
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
env:
|
env:
|
||||||
cache-name: cache-toolchain-s2
|
cache-name: cache-toolchain-s2-v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
toolchain/gcc-x86_64-ficus-prefix
|
toolchain/gcc-x86_64-ficus-prefix
|
||||||
|
sysroot
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/newlib-4.4.0.20231231/**') }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/newlib-4.4.0.20231231/**') }}
|
||||||
|
|
||||||
- if: ${{ steps.cache-toolchain-s2.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-toolchain-s2.outputs.cache-hit != 'true' }}
|
||||||
@@ -122,10 +127,11 @@ jobs:
|
|||||||
id: cache-toolchain-s2-save
|
id: cache-toolchain-s2-save
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
env:
|
env:
|
||||||
cache-name: cache-toolchain-s2
|
cache-name: cache-toolchain-s2-v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
toolchain/gcc-x86_64-ficus-prefix
|
toolchain/gcc-x86_64-ficus-prefix
|
||||||
|
sysroot
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/newlib-4.4.0.20231231/**') }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ficus-toolchain/*.sh') }}-${{ hashFiles('ficus-toolchain/newlib/newlib-4.4.0.20231231/**') }}
|
||||||
|
|
||||||
- name: Tar the toolchain
|
- name: Tar the toolchain
|
||||||
|
|||||||
Reference in New Issue
Block a user