mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[GITHUB] Add MSVC ARM64 builder
This builds only some applications for now. CORE-17518
This commit is contained in:
parent
4363e74ddc
commit
8b55d712a7
3 changed files with 18 additions and 5 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -141,7 +141,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
toolset: ['14.2', '14.1'] # VS 2019, 2017
|
toolset: ['14.2', '14.1'] # VS 2019, 2017
|
||||||
arch: [arm]
|
arch: [arm, arm64]
|
||||||
config: [Debug, Release]
|
config: [Debug, Release]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -156,9 +156,16 @@ jobs:
|
||||||
echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
echo "M4=${{github.workspace}}\bin\m4.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
echo "M4=${{github.workspace}}\bin\m4.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- name: Activate VS cmd (arm)
|
- name: Activate VS cmd (arm)
|
||||||
|
if: ${{ matrix.arch == 'arm' }}
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
arch: x86_arm
|
arch: amd64_arm
|
||||||
|
toolset: ${{matrix.toolset}}
|
||||||
|
- name: Activate VS cmd (arm64)
|
||||||
|
if: ${{ matrix.arch == 'arm64' }}
|
||||||
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
with:
|
||||||
|
arch: amd64_arm64
|
||||||
toolset: ${{matrix.toolset}}
|
toolset: ${{matrix.toolset}}
|
||||||
- name: Source checkout
|
- name: Source checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -167,11 +174,17 @@ jobs:
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake -S src -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.config}} -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1
|
run: cmake -S src -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.config}} -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1
|
||||||
- name: Build base module
|
- name: Build base module
|
||||||
|
if: ${{ matrix.arch == 'arm' }}
|
||||||
run: cmake --build build --target base/all
|
run: cmake --build build --target base/all
|
||||||
- name: Build control panel applets
|
- name: Build control panel applets
|
||||||
|
if: ${{ matrix.arch == 'arm' }}
|
||||||
run: cmake --build build --target dll/cpl/all
|
run: cmake --build build --target dll/cpl/all
|
||||||
- name: Build rosapps
|
- name: Build rosapps
|
||||||
|
if: ${{ matrix.arch == 'arm' }}
|
||||||
run: cmake --build build --target modules/rosapps/all
|
run: cmake --build build --target modules/rosapps/all
|
||||||
|
- name: Build some applications (arm64)
|
||||||
|
if: ${{ matrix.arch == 'arm64' }}
|
||||||
|
run: cmake --build build --target calc magnify mstsc notepad osk regedit taskmgr winmine wordpad base/applications/screensavers/all -- -k0
|
||||||
- name: Upload compiled binaries
|
- name: Upload compiled binaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
# if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \
|
# if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \
|
||||||
defined (__hpux) || defined (macintosh) || defined (_MAC)
|
defined (__hpux) || defined (macintosh) || defined (_MAC)
|
||||||
# define _STLP_BIG_ENDIAN 1
|
# define _STLP_BIG_ENDIAN 1
|
||||||
# elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \
|
# elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || defined (_M_ARM64) || \
|
||||||
defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \
|
defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \
|
||||||
defined (__alpha__)
|
defined (__alpha__)
|
||||||
# define _STLP_LITTLE_ENDIAN 1
|
# define _STLP_LITTLE_ENDIAN 1
|
||||||
|
|
|
@ -252,8 +252,8 @@
|
||||||
251 stdcall GetClassInfoExW(long wstr ptr)
|
251 stdcall GetClassInfoExW(long wstr ptr)
|
||||||
252 stdcall GetClassInfoW(long wstr ptr)
|
252 stdcall GetClassInfoW(long wstr ptr)
|
||||||
253 stdcall GetClassLongA(long long)
|
253 stdcall GetClassLongA(long long)
|
||||||
@ stdcall -arch=x86_64 GetClassLongPtrA(ptr long)
|
@ stdcall -arch=x86_64,arm64 GetClassLongPtrA(ptr long)
|
||||||
@ stdcall -arch=x86_64 GetClassLongPtrW(ptr long)
|
@ stdcall -arch=x86_64,arm64 GetClassLongPtrW(ptr long)
|
||||||
254 stdcall GetClassLongW(long long)
|
254 stdcall GetClassLongW(long long)
|
||||||
255 stdcall GetClassNameA(long ptr long)
|
255 stdcall GetClassNameA(long ptr long)
|
||||||
256 stdcall GetClassNameW(long ptr long)
|
256 stdcall GetClassNameW(long ptr long)
|
||||||
|
|
Loading…
Reference in a new issue