servus/.gitea/workflows/ci.yml
ahoneybun d6c970886b
All checks were successful
build / test-amd64 (push) Successful in 40s
build / test-arm64 (push) Successful in 1m0s
Update .gitea/workflows/ci.yml
2025-12-10 20:00:03 -07:00

50 lines
No EOL
1 KiB
YAML

name: build
on:
push:
branches: [ main ]
jobs:
test-amd64:
runs-on: [rust-latest, amd64-builder]
steps:
- name: System Info
run: uname -m
- name: Setup
run: |
apt update -y
apt install -y curl gnupg
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs
- name: Checkout
uses: actions/checkout@v5
- name: Build
run: cargo build
- name: Upload
uses: actions/upload-artifact@v3
with:
name: servus-amd64
path: target/debug/servus
test-arm64:
runs-on: [rust-latest, arm64-builder]
steps:
- name: System Info
run: uname -m
- name: Setup
run: |
apt update -y
apt install -y curl gnupg
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs
- name: Checkout
uses: actions/checkout@v5
- name: Build
run: cargo build