Skip to content

Commit

Permalink
Added ci.yml to test self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
pitill0 committed Feb 13, 2025
1 parent 042f519 commit b4902f9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Bootstrap

on:
push: {}

jobs:
bootstrap:
runs-on: crux
steps:
- name: Verify sudo works
run: sudo -n true && echo "All cool over here! ❄️"|| (echo "Help! Fire!! 🔥" && exit 1)

- name: Cache source directory
uses: actions/cache@v3
with:
path: ./source
key: source-${{ github.run_id }}
restore-keys: source-

- name: Checkout Repository
uses: actions/checkout@v3

- name: Run make bootstrap
run: make bootstrap

- name: Share rootfs
uses: actions/upload-artifact@v3
with:
name: crux-arm-rootfs
path: ./stagefinal/*.tar.xz
retention-days: 7

0 comments on commit b4902f9

Please sign in to comment.