forked from m1k1o/neko
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 826 Bytes
/
Copy pathserver_test.yml
File metadata and controls
44 lines (37 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Test Server
on:
pull_request:
branches:
- master
paths:
- server/**
- .github/workflows/server_test.yml
jobs:
build-amd64:
name: Build amd64
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: ./server
platforms: linux/amd64
build-arm64:
name: Build arm64
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: ./server
platforms: linux/arm64