testing again:
This commit is contained in:
parent
454dddf07f
commit
d83d57e34a
1 changed files with 27 additions and 17 deletions
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue