Skip to content

Update workflow dependencies #24

Update workflow dependencies

Update workflow dependencies #24

Workflow file for this run

name: Build
on: push
jobs:
debian-10:
runs-on: [debian-10]
steps:
- uses: actions/checkout@v4
- 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@v4
with:
name: "Debian 10 and above"
path: suncli
macos-13:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- 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@v4
with:
name: "MacOS (X86)"
path: suncli
windows-latest:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- 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@v4
with:
name: Windows
path: Sun.exe