From d83d57e34a723434f6c8991f3968de65b0150bf2 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Mon, 2 Feb 2026 12:30:39 -0700 Subject: [PATCH] testing again: --- .gitea/workflows/test.yml | 44 ++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index f6eeb13..e5e0068 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -1,34 +1,44 @@ -name: CI test - -on: [push] +name: CI โ€“ Multiโ€‘arch build & test +on: + push: + branches: [ main ] + pull_request: + types: [ opened, reopened, synchronize ] jobs: amd64: runs-on: [ ubuntu-24.04, amd64-builder ] steps: - - name: System Info + - name: System info run: | cat /etc/os-release - echo uname -m - - run: echo "๐Ÿ”Ž The name of your branch is ${{ forgejo.ref }} and your repository is ${{ forgejo.repository }}." - - - name: Check out repository code - uses: actions/checkout@v6 - - - run: echo "๐Ÿ’ก The ${{ forgejo.repository }} repository has been cloned to the runner." - - run: echo "๐Ÿ–ฅ๏ธ The workflow is now ready to test your code on the runner." - - name: List files in the repository + - name: Show context run: | - ls ${{ forgejo.workspace }} - - run: echo "๐Ÿ This job's status is ${{ job.status }}." + echo "๐Ÿ”Ž Branch: ${{ forgejo.ref }}" + echo "๐Ÿ“ฆ Repository: ${{ forgejo.repository }}" + echo "๐Ÿ“‚ Workspace: ${{ forgejo.workspace }}" + + # ------------------------------------------------- + # Checkout the source tree (pureโ€‘Go, no Node needed) + # ------------------------------------------------- + - name: Checkout code + uses: actions/checkout@v6 + + - name: Job status + run: echo "โœ… AMD64 job finished with status ${{ job.status }}" arm64: runs-on: [ ubuntu-24.04, arm64-builder ] steps: - - name: System Info + - name: System info run: | cat /etc/os-release - echo uname -m + + - name: Checkout code + uses: actions/checkout@v6 + + - name: Job status + run: echo "โœ… ARM64 job finished with status ${{ job.status }}"