Changed Name of arm64.yaml to linux_arm64.yaml and added arm64 docker image workflow
Some checks failed
Build ARM64 Linux / build-arm64 (push) Has been cancelled
Build Linux x64 / build-linux-x64 (push) Has been cancelled
Build Windows x64 / build-windows-x64 (push) Has been cancelled
Build Docker Linux ARM64 / build-docker-linux-x64 (push) Failing after 5m44s
Build Docker Linux x64 / build-docker-linux-x64 (push) Failing after 56s
Some checks failed
Build ARM64 Linux / build-arm64 (push) Has been cancelled
Build Linux x64 / build-linux-x64 (push) Has been cancelled
Build Windows x64 / build-windows-x64 (push) Has been cancelled
Build Docker Linux ARM64 / build-docker-linux-x64 (push) Failing after 5m44s
Build Docker Linux x64 / build-docker-linux-x64 (push) Failing after 56s
This commit is contained in:
33
.gitea/workflows/linux_arm64.yaml
Normal file
33
.gitea/workflows/linux_arm64.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Build ARM64 Linux
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-arm64:
|
||||
runs-on: [self-hosted, linux, arm64, dotnet]
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: apk add --no-cache git curl wget unzip bash nodejs npm
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '10.0.x'
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore ./CouchLog/CouchLog.sln
|
||||
|
||||
- name: Build ARM64 Linux
|
||||
run: dotnet publish ./CouchLog/CouchLog.sln -c Release -r linux-arm64 --self-contained false -o ./artifacts/linux-arm64
|
||||
|
||||
- name: Upload ARM64 artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: linux-arm64
|
||||
path: ./artifacts/linux-arm64
|
||||
Reference in New Issue
Block a user