Skip to content

Commit

Permalink
Compare build times for different bois
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Nov 26, 2024
1 parent 1e51bb0 commit 010d6f0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: k3s
path: dist/artifacts/k3s*
path: dist/artifacts/k3s*
- name: "Dump CPU info"
run: |
cat /proc/cpuinfo
lscpu
sleep 3 | htop > ./htop.out
head -c ./htop.out | tail -c +10
15 changes: 15 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ permissions:
contents: read

jobs:
test-8cpu:
uses: ./.github/workflows/build-k3s.yaml
with:
runner: ${{ github.repository == 'k3s-io/k3s' && 'equinix-8cpu-32gb' || 'ubuntu-latest' }}
upload-image: true
test-4cpu:
uses: ./.github/workflows/build-k3s.yaml
with:
runner: ${{ github.repository == 'k3s-io/k3s' && 'equinix-4cpu-16gb' || 'ubuntu-latest' }}
upload-image: true
test-gha:
uses: ./.github/workflows/build-k3s.yaml
with:
runner: ${{ github.repository == 'k3s-io/k3s' && 'ubuntu-latest' || 'ubuntu-latest' }}
upload-image: true
build:
uses: ./.github/workflows/build-k3s.yaml
with:
Expand Down

0 comments on commit 010d6f0

Please sign in to comment.