ci-fix #1
1 changed files with 34 additions and 7 deletions
|
|
@ -1,24 +1,51 @@
|
|||
name: CI test
|
||||
|
||||
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
|
||||
|
||||
- name: Show context
|
||||
run: |
|
||||
echo "🔎 Branch: ${{ forgejo.ref }}"
|
||||
echo "📦 Repository: ${{ forgejo.repository }}"
|
||||
echo "📂 Workspace: ${{ forgejo.workspace }}"
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
apt update
|
||||
apt install -y nodejs npm
|
||||
|
||||
- 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 ]
|
||||
runs-on: [ ubuntu-24.04, arm64-builder ]
|
||||
steps:
|
||||
- name: System Info
|
||||
- name: System info
|
||||
run: |
|
||||
cat /etc/os-release
|
||||
echo
|
||||
uname -m
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
apt update
|
||||
apt install -y nodejs npm
|
||||
|
||||
- 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