Skip to content

Commit

Permalink
Add MacOS build to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Dec 7, 2023
1 parent fb511c3 commit 94db35f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,20 @@ jobs:
with:
name: "Debian 10 and above"
path: suncli

macos-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: Build Soup
run: php Sun/vendor/Soup/build_lib.php

- name: Build Sun
run: clang -o suncli Sun/sun.cpp -ISun/vendor/Soup libsoup.a -std=c++17 -lstdc++

- name: Upload Sun
uses: actions/upload-artifact@v3
with:
name: "MacOS (X86)"
path: suncli

0 comments on commit 94db35f

Please sign in to comment.