Skip to content

Commit 5e56d58

Browse files
committed
tmp
1 parent 3a4b5d0 commit 5e56d58

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

.github/workflows/build-kernel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Restore toolchain cache
20+
- name: Install toolchain
2121
uses: actions/cache@v4
2222
with:
2323
key: ${{ needs.toolchain.outputs.cache-key-gcc }}
2424
path: /opt/toolchains/i686-dailyrun
2525

26-
- name: Restore libc cache
26+
- name: Install libc
2727
uses: actions/cache@v4
2828
with:
2929
key: ${{ needs.toolchain.outputs.cache-key-libc }}

.github/workflows/build-toolchain.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,35 @@ jobs:
117117

118118
build-libc:
119119
name: "Build LibC"
120-
needs: cache-libc
121-
if: needs.cache-libc.outputs.cache-hit != 'true'
120+
needs: [ cache-gcc, cache-libc, build-gcc ]
121+
if: |
122+
always() &&
123+
needs.cache-libc.outputs.cache-hit != 'true' &&
124+
(needs.cache-gcc.outputs.cache-hit == 'true' || needs.build-gcc.result == 'success')
122125
runs-on: ubuntu-latest
123126
steps:
124127
- uses: actions/checkout@v4
125128

129+
- name: Install toolchain
130+
uses: actions/cache@v4
131+
with:
132+
key: ${{ needs.cache-gcc.outputs.cache-key }}
133+
path: /opt/toolchains/i686-dailyrun
134+
126135
- name: Install Nix
127136
uses: cachix/install-nix-action@v17
128137
with:
129138
extra_nix_config: |
130139
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
131140
141+
- name: Install dependencies
142+
run: |
143+
sudo apt install libisl-dev
144+
ls /
145+
ls /usr
146+
ls /usr/lib
147+
pkgconfig --libs isl
148+
132149
- name: Configure (i686)
133150
run: |
134151
cp defconfigs/config.i686 .config

0 commit comments

Comments
 (0)