yapb-noob-edition/.github/workflows/build.yml
ds e8b55acd23 Do not keep log file opened while game process active.
Rename actions workflow.
Fixed mingw-w64 stdcall handling.
2020-11-16 13:11:26 +03:00

47 lines
1.2 KiB
YAML

name: YaPB
on: [push, pull_request]
jobs:
linux:
name: Full Build
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Setup Meson
shell: bash
run: |
meson setup build_x86_win32 --cross-file=/actions/meson/windows-msvc-32bit.txt -Db_vscrt=mt
meson setup build_x86_macos --cross-file=/actions/meson/darwin-clang-32bit.txt
CXX=clang meson setup build_x86_linux
- name: Build Bot
shell: bash
run: |
ninja -C build_x86_win32 -v
ninja -C build_x86_macos -v
ninja -C build_x86_linux -v
- name: Build Package
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
meson setup dist
ninja -C dist package
ls -la dist/yapb-*
- uses: actions/upload-artifact@v2
name: Upload Artifacts
with:
name: yapb.zip
path: |
build_x86_win32/yapb.dll
build_x86_linux/yapb.so
build_x86_macos/yapb.dylib