Skip to content

v2 of actions/upload-artifact has been deprecated. Switching to (cur… #156

v2 of actions/upload-artifact has been deprecated. Switching to (cur…

v2 of actions/upload-artifact has been deprecated. Switching to (cur… #156

name: Build
on: [push, pull_request]
jobs:
buildUbuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: make
run: make ERRORS=Y
- name: Archive lib
uses: actions/upload-artifact@v4
with:
name: lib
path: liblunar.a
buildOSX:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
- name: make
run: make CLANG=Y ERRORS=Y
buildWindows:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: make
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
nmake -f lunar.mak
shell: cmd