File tree Expand file tree Collapse file tree 4 files changed +30
-5
lines changed
Expand file tree Collapse file tree 4 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ARGUMENTS="--syncdeps \
1515 --force"
1616
1717if [[ " $PACKAGE_REPOSITORY " == * MINGW* ]]; then
18- MINGW_ARCH=mingw64 makepkg-mingw $ARGUMENTS --skippgpcheck
18+ makepkg-mingw $ARGUMENTS
1919else
2020 makepkg $ARGUMENTS
2121fi
Original file line number Diff line number Diff line change 2121 description : " MSYS2 packages branch to build from"
2222 type : string
2323 default : " woarm64"
24+ runs_on_arm64 :
25+ description : " Whether Arm64 runner is required"
26+ type : boolean
27+ default : false
2428
2529defaults :
2630 run :
3135
3236jobs :
3337 build :
34- runs-on : windows-latest
38+ runs-on : [Windows, ARM64, Blackhex]
3539
3640 steps :
3741 - uses : msys2/setup-msys2@v2
3842 with :
39- msystem : MSYS
40- update : true
43+ msystem : ${{ contains(inputs.packages_repository, 'MINGW') && 'MINGW64' || 'MSYS'}}
44+ cache : false
45+ update : false
4146
4247 - name : Checkout repository
4348 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- pull_request :
87 workflow_dispatch :
98 inputs :
109 msys2_packages_branch :
Original file line number Diff line number Diff line change 1+ name : Build MinGW toolchain
2+
3+ on :
4+ pull_request :
5+ workflow_dispatch :
6+ inputs :
7+ mingw_packages_branch :
8+ description : " MINGW-packages branch to build"
9+ type : string
10+ required : false
11+ default : " woarm64"
12+
13+ jobs :
14+ mingw-w64-binutils :
15+ uses : ./.github/workflows/build-package.yml
16+ with :
17+ package_name : mingw-w64-binutils
18+ packages_repository : Windows-on-ARM-Experiments/MINGW-packages
19+ packages_branch : ${{ github.event.inputs.mingw_packages_branch || 'woarm64' }}
20+ dependencies : mingw-w64-cross-gcc
21+ runs_on_arm64 : true
You can’t perform that action at this time.
0 commit comments