Add "arm" condition #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: push | |
jobs: | |
debian-10: | |
runs-on: [debian-10] | |
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 -fuse-ld=lld -lstdc++ -lstdc++fs -pthreads | |
- name: Upload Sun | |
uses: actions/upload-artifact@v3 | |
with: | |
name: "Debian 10 and above" | |
path: suncli | |
macos-13: | |
runs-on: macos-13 | |
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 | |
windows-latest: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Soup | |
run: php Sun/vendor/Soup/build_lib.php | |
- name: Build Sun | |
run: clang -o Sun.exe Sun/sun.cpp -ISun/vendor/Soup libsoup.a -std=c++17 | |
- name: Upload Sun | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Windows | |
path: Sun.exe |