5
5
push :
6
6
tags :
7
7
- " *"
8
- # branches:
9
- # - main
10
- # paths-ignore:
11
- # - README.md
8
+ branches :
9
+ - main
10
+ paths-ignore :
11
+ - README.md
12
12
13
13
permissions :
14
14
contents : write
@@ -41,26 +41,23 @@ jobs:
41
41
build-and-release :
42
42
needs : prepare
43
43
timeout-minutes : 120
44
- runs-on : ${{ matrix.runner.label }}
44
+ runs-on : ${{ matrix.runner }}
45
45
46
46
strategy :
47
47
matrix :
48
- runner :
49
- - label : self-hosted
50
- os : macos
51
- - label : [runs-on, runner=32cpu-linux-x64, "run-id=${{ github.run_id }}"]
48
+ include :
49
+ - runner : [runs-on, runner=32cpu-linux-x64, "run-id=${{ github.run_id }}"]
52
50
os : ubuntu
53
- - label : [runs-on, runner=32cpu-linux-arm64, "run-id=${{ github.run_id }}"]
51
+ - runner : [runs-on, runner=32cpu-linux-arm64, "run-id=${{ github.run_id }}"]
54
52
os : ubuntu
55
- # label: [self-hosted]
56
- # include:
57
- # - label: runs-on
58
- # runner: 16cpu-linux-x64
59
- # run-id: "${{ github.run_id }}"
53
+ - runner : self-hosted
54
+ os : macos
55
+ - runner : macos-13
56
+ os : macos
60
57
61
58
steps :
62
59
- name : Free Disk Space (Ubuntu)
63
- if : matrix.runner. os == 'ubuntu'
60
+ if : matrix.os == 'ubuntu'
64
61
uses : jlumbroso/free-disk-space@main
65
62
with :
66
63
tool-cache : true
@@ -74,13 +71,13 @@ jobs:
74
71
- uses : actions/checkout@v4
75
72
76
73
- name : Install ninja and riscv-tools
77
- if : matrix.runner. os == 'ubuntu'
74
+ if : matrix.os == 'ubuntu'
78
75
run : |
79
76
sudo apt update
80
77
sudo apt-get -y install ninja-build gcc-riscv64-unknown-elf
81
78
82
79
- name : Install ninja and riscv-tools
83
- if : matrix.runner. os == 'macos'
80
+ if : matrix.os == 'macos'
84
81
run : |
85
82
brew install ninja
86
83
brew tap riscv-software-src/riscv
0 commit comments