-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 966 Bytes
/
macos.yml
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
name: Build MacOS arm64
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_macos_arm64:
# if: false # This workflow is disabled
runs-on: macos-latest
strategy:
matrix:
arch: [arm64]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Checkout raylib
uses: actions/checkout@v2
with:
repository: raysan5/raylib
path: libs/raylib
- name: Build raylib
run: |
cd libs/raylib/src
make PLATFORM=PLATFORM_DESKTOP
cp libraylib.a ../libraylib.a
mkdir -p ../include/
cp raylib.h ../include/
cp raymath.h ../include/
cp rlgl.h ../include/
cd ../../..
- name: Build Project
run: |
make
- name: Publish Build Artifacts
uses: actions/upload-artifact@v3
with:
name: "vertical-artifacts-arm64"
path: build/