Skip to content

Commit 7b44a75

Browse files
authored
Create cmake-arm-win
1 parent af4c4b2 commit 7b44a75

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/cmake-arm-win

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build raylib Libraries (ARM)
2+
3+
on: [workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
include:
11+
- os: windows-latest
12+
arch: arm64
13+
triplet: arm64-windows
14+
arch-cmake: arm64
15+
16+
steps:
17+
- uses: actions/checkout@v4.1.7
18+
with:
19+
repository: 'raysan5/raylib'
20+
path: 'raylib'
21+
ref: '5.0'
22+
submodules: true
23+
24+
- name: Configure Raylib with CMake on Windows
25+
run: |
26+
cd raylib
27+
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
28+
29+
- name: Build raylib
30+
run: cmake --build raylib/build --config Release
31+
32+
- name: Upload Artifacts
33+
uses: actions/upload-artifact@v4.3.4
34+
with:
35+
name: ${{ matrix.os }}-${{ matrix.arch }}-artifacts
36+
path: |
37+
raylib/build/raylib/Release/*.dll
38+
raylib/build/raylib/*.so
39+
raylib/build/raylib/*.dylib
40+
if-no-files-found: ignore # 'warn' or 'ignore' or 'error'

0 commit comments

Comments
 (0)