Compare commits
No commits in common. "ci-fix" and "main" have entirely different histories.
1 changed files with 7 additions and 34 deletions
|
|
@ -1,51 +1,24 @@
|
||||||
name: CI – Multi‑arch build & test
|
name: CI test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
pull_request:
|
|
||||||
types: [ opened, reopened, synchronize ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
amd64:
|
amd64:
|
||||||
runs-on: [ ubuntu-24.04, amd64-builder ]
|
runs-on: [ ubuntu-24.04, amd64-builder ]
|
||||||
steps:
|
steps:
|
||||||
- name: System info
|
- name: System Info
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
|
echo
|
||||||
uname -m
|
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:
|
arm64:
|
||||||
runs-on: [ ubuntu-24.04, arm64-builder ]
|
runs-on : [ ubuntu-24.04, arm64-builder ]
|
||||||
steps:
|
steps:
|
||||||
- name: System info
|
- name: System Info
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
|
echo
|
||||||
uname -m
|
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