mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
add alt_pass1 to ci
This commit is contained in:
parent
8346a2b7e4
commit
6446c09576
1 changed files with 47 additions and 1 deletions
48
.github/workflows/bwrap.yml
vendored
48
.github/workflows/bwrap.yml
vendored
|
|
@ -12,6 +12,52 @@ on:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
alt_pass1:
|
||||||
|
name: Alt Run up to Linux build under bubblewrap
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install bubblewrap
|
||||||
|
run: sudo apt install bubblewrap
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
# There is a strange bug(?) in nongnu, when you clone a git repository
|
||||||
|
# against a commit != HEAD with depth=1, it errors out.
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Query cache for sources
|
||||||
|
id: cache
|
||||||
|
uses: actions/cache/restore@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
distfiles
|
||||||
|
key: cache-${{ hashFiles('steps/*/sources') }}
|
||||||
|
- name: Get sources
|
||||||
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
|
run: ./download-distfiles.sh
|
||||||
|
- name: Cache sources
|
||||||
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
|
uses: actions/cache/save@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
distfiles
|
||||||
|
key: cache-${{ hashFiles('steps/*/sources') }}
|
||||||
|
- name: Run bootstrap
|
||||||
|
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass1 --tcc_bootstrap_alt
|
||||||
|
- name: Archive created packages
|
||||||
|
if: failure() # archive failed builds progress
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: alt_packages
|
||||||
|
path: target/external/repo/**
|
||||||
|
- name: Tar alt_pass1 image
|
||||||
|
run: tar -cf alt_pass1_image.tar target
|
||||||
|
- name: Archive alt_pass1_image
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: internal_alt_pass1_image
|
||||||
|
path: alt_pass1_image.tar
|
||||||
|
|
||||||
pass1:
|
pass1:
|
||||||
name: Run up to Linux build under bubblewrap
|
name: Run up to Linux build under bubblewrap
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -43,7 +89,7 @@ jobs:
|
||||||
distfiles
|
distfiles
|
||||||
key: cache-${{ hashFiles('steps/*/sources') }}
|
key: cache-${{ hashFiles('steps/*/sources') }}
|
||||||
- name: Run bootstrap
|
- name: Run bootstrap
|
||||||
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass1 --tcc_bootstrap_alt
|
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass1
|
||||||
- name: Archive created packages
|
- name: Archive created packages
|
||||||
if: failure() # archive failed builds progress
|
if: failure() # archive failed builds progress
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue