FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
github-actions/.github/workflows/test-determine-binary-name.yml at main · tomphp/github-actions · GitHub
tomphp
/
github-actions
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
github-actions
/
.github
/
workflows
/
test-determine-binary-name.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
103 lines (100 loc) · 3.68 KB
Breadcrumbs
github-actions
/
.github
/
workflows
/
test-determine-binary-name.yml
Copy path
File metadata and controls
103 lines (100 loc) · 3.68 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
on
:
workflow_call
:
jobs
:
test-with-default-arguments
:
strategy
:
matrix
:
os
:
-
image
:
ubuntu-latest
expected-name
:
my-binary
expected-name-with-arch
:
my-binary-x86_64-unknown-linux-gnu
expected-suffix
:
x86_64-unknown-linux-gnu
-
image
:
ubuntu-24.04-arm
expected-name
:
my-binary
expected-name-with-arch
:
my-binary-aarch64-unknown-linux-gnu
expected-suffix
:
aarch64-unknown-linux-gnu
-
image
:
windows-latest
expected-name
:
my-binary.exe
expected-name-with-arch
:
my-binary-x86_64-pc-windows-msvc.exe
expected-suffix
:
x86_64-pc-windows-msvc
-
image
:
macos-26-intel
expected-name
:
my-binary
expected-name-with-arch
:
my-binary-x86_64-apple-darwin
expected-suffix
:
x86_64-apple-darwin
-
image
:
macos-26
expected-name
:
my-binary
expected-name-with-arch
:
my-binary-aarch64-apple-darwin
expected-suffix
:
aarch64-apple-darwin
runs-on
:
${{ matrix.os.image }}
steps
:
-
uses
:
actions/checkout@v7
-
uses
:
./determine-binary-name
id
:
run-action
with
:
name
:
my-binary
-
uses
:
armakuni/github-actions/assert-equals@v0.19.15
name
:
Check name
with
:
expected
:
${{ matrix.os.expected-name }}
actual
:
${{ steps.run-action.outputs.name }}
-
uses
:
armakuni/github-actions/assert-equals@v0.19.15
name
:
Check name-with-arch
with
:
expected
:
${{ matrix.os.expected-name-with-arch }}
actual
:
${{ steps.run-action.outputs.name-with-arch }}
-
uses
:
armakuni/github-actions/assert-equals@v0.19.15
name
:
Check suffix
with
:
expected
:
${{ matrix.os.expected-suffix }}
actual
:
${{ steps.run-action.outputs.suffix }}
test-with-arguments
:
strategy
:
matrix
:
os
:
-
image
:
ubuntu-latest
expected-name
:
program
expected-name-with-arch
:
program-linux
expected-suffix
:
linux
-
image
:
ubuntu-24.04-arm
expected-name
:
program
expected-name-with-arch
:
program-linux-arm
expected-suffix
:
linux-arm
-
image
:
windows-latest
expected-name
:
program.exe
expected-name-with-arch
:
program-windows.exe
expected-suffix
:
windows
-
image
:
macos-26-intel
expected-name
:
program
expected-name-with-arch
:
program-macos
expected-suffix
:
macos
-
image
:
macos-26
expected-name
:
program
expected-name-with-arch
:
program-macos-arm
expected-suffix
:
macos-arm
runs-on
:
${{ matrix.os.image }}
steps
:
-
uses
:
actions/checkout@v7
-
uses
:
./determine-binary-name
id
:
run-action
with
:
name
:
program
linux-suffix
:
linux
linux-arm-suffix
:
linux-arm
windows-suffix
:
windows
macos-suffix
:
macos
macos-arm-suffix
:
macos-arm
-
uses
:
armakuni/github-actions/assert-equals@v0.19.15
name
:
Check name
with
:
expected
:
${{ matrix.os.expected-name }}
actual
:
${{ steps.run-action.outputs.name }}
-
uses
:
armakuni/github-actions/assert-equals@v0.19.15
name
:
Check name-with-arch
with
:
expected
:
${{ matrix.os.expected-name-with-arch }}
actual
:
${{ steps.run-action.outputs.name-with-arch }}
-
uses
:
armakuni/github-actions/assert-equals@v0.19.15
name
:
Check suffix
with
:
expected
:
${{ matrix.os.expected-suffix }}
actual
:
${{ steps.run-action.outputs.suffix }}
Back
|
FazBrowse Home
|
New Git URL