mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-28 08:07:52 +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:
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Debug
|
||||
@@ -25,6 +25,9 @@ jobs:
|
||||
- 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
|
||||
|
||||
- name: Create ccache dir
|
||||
run: mkdir ~/ccache-cache
|
||||
|
||||
- name: CCache cache
|
||||
id: cache-ccache
|
||||
uses: actions/cache@v4
|
||||
@@ -39,6 +42,7 @@ jobs:
|
||||
run: |
|
||||
ccache -p
|
||||
which gcc
|
||||
which g++
|
||||
|
||||
- name: Cache generic toolchain
|
||||
id: cache-toolchain
|
||||
@@ -108,10 +112,11 @@ jobs:
|
||||
id: cache-toolchain-s2
|
||||
uses: actions/cache/restore@v4
|
||||
env:
|
||||
cache-name: cache-toolchain-s2
|
||||
cache-name: cache-toolchain-s2-v2
|
||||
with:
|
||||
path: |
|
||||
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/**') }}
|
||||
|
||||
- if: ${{ steps.cache-toolchain-s2.outputs.cache-hit != 'true' }}
|
||||
@@ -122,10 +127,11 @@ jobs:
|
||||
id: cache-toolchain-s2-save
|
||||
uses: actions/cache/save@v4
|
||||
env:
|
||||
cache-name: cache-toolchain-s2
|
||||
cache-name: cache-toolchain-s2-v2
|
||||
with:
|
||||
path: |
|
||||
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/**') }}
|
||||
|
||||
- name: Tar the toolchain
|
||||
|
||||
Reference in New Issue
Block a user