-
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (37 loc) · 940 Bytes
/
linux.yml
File metadata and controls
38 lines (37 loc) · 940 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
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Linux
permissions:
id-token: write
contents: read
jobs:
build:
name: "Build on Linux"
strategy:
matrix:
variant:
- arch: x64
runner: ubuntu-latest
- arch: arm64
runner: ubuntu-22.04-arm
runs-on: ${{ matrix.variant.runner }}
steps:
- name: "Checkout"
uses: actions/checkout@v5
with:
submodules: recursive
- name: "Setup .NET"
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.0.x'
- name: "Restore"
run: dotnet restore
- name: "Build"
run: dotnet build Nickvision.FlatpakGenerator -c Release --no-restore
- name: "Test"
run: dotnet test Nickvision.FlatpakGenerator -c Release --no-build