Skip to content

Commit

Permalink
added macos arm64 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
savaughn committed Dec 10, 2023
1 parent 6a88054 commit 926ea93
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/

0 comments on commit 926ea93

Please sign in to comment.