From 3a121cbaa068abc0dd7630958e96f4d7d8330720 Mon Sep 17 00:00:00 2001 From: wesley van tilburg Date: Tue, 15 Oct 2024 21:26:35 +0200 Subject: [PATCH] update ci --- .gitea/workflows/ipxe.yaml | 38 ++++++-------------------------------- 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/.gitea/workflows/ipxe.yaml b/.gitea/workflows/ipxe.yaml index afc2d70..712fc18 100644 --- a/.gitea/workflows/ipxe.yaml +++ b/.gitea/workflows/ipxe.yaml @@ -1,9 +1,10 @@ -name: build ipxe -on: - schedule: - - cron: '0 2 * * SUN' +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +runs-on: dynamis +on: [push] + jobs: - make-ipxe: + make-ipxe: name: make ipxe runs-on: ubuntu-latest container: docker.io/alpine:edge @@ -11,30 +12,3 @@ jobs: - name: install dependencies run: | apk add git make binutils mtools perl xz-dev libc-dev clang nodejs - - name: checkout ipxe repo - run: | - git clone https://github.com/ipxe/ipxe ipxe - - name: checkout provisioner repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - path: self - - name: build ipxe - run: | - self_root="${GITHUB_WORKSPACE}/self" - ipxe_root="${GITHUB_WORKSPACE}/ipxe" - cp ${self_root}/ipxe/netboot.ipxe ${ipxe_root}/src - cd ${ipxe_root}/src - make -j$(nproc) bin-i386-pcbios/undionly.kpxe EMBED=netboot.ipxe - make -j$(nproc) bin-x86_64-efi/ipxe.efi EMBED=netboot.ipxe - mkdir artifact - mv bin-i386-pcbios/undionly.kpxe artifact/undionly.kpxe - mv bin-x86_64-efi/ipxe.efi artifact/ipxe64.efi - - name: update Nightly Release - uses: akkuman/gitea-release-action@v1 - with: - name: ipxe - prerelease: true - tag_name: ipxe-nightly - files: |- - ${{ github.workspace }}/ipxe/src/artifact/*