Some checks failed
Build ISO and Upload Artifact / build-and-upload (push) Failing after 11s
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
name: Build ISO and Upload Artifact
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-upload:
|
|
env:
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Make a file with a lot of repeated text
|
|
run: |
|
|
for i in {1..100000}; do echo -n 'foobar' >> foobar.txt; done
|
|
- uses: christopherhx/gitea-upload-artifact@v4
|
|
with:
|
|
name: my-artifact
|
|
path: foobar.txt
|
|
compression-level: 9 # maximum compression
|
|
# - name: Checkout code
|
|
# uses: actions/checkout@v4
|
|
|
|
# - name: Install dependencies
|
|
# run: |
|
|
# sudo apt update
|
|
# sudo apt install -y clang lld mtools xorriso
|
|
|
|
# - name: Clone edk2
|
|
# run: |
|
|
# git clone https://github.com/tianocore/edk2.git ./edk2
|
|
|
|
# - name: Make scripts executable
|
|
# run: chmod +x ./scripts/build_c.sh ./scripts/out_to_iso.sh
|
|
|
|
# - name: Run build_c.sh
|
|
# run: ./scripts/build_c.sh
|
|
|
|
# - name: Run out_to_iso.sh
|
|
# run: ./scripts/out_to_iso.sh
|
|
|
|
# - name: Upload ISO artifact
|
|
# uses: actions/upload-artifact@v2
|
|
# with:
|
|
# include-hidden-files: true
|
|
# name: built-iso
|
|
# path: ./out/lints.iso
|