xenia-canary/.github/workflows/main.yml

31 lines
747 B
YAML
Raw Normal View History

2019-09-18 07:44:46 +00:00
name: main
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
cpu_arch: [SSE2, AVX, AVX2, AVX512]
2019-09-18 07:44:46 +00:00
steps:
- uses: actions/checkout@master
- name: Setup
run: xb setup
- name: Build
run: xb build --cpu_arch=${{matrix.cpu_arch}} --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
2019-09-18 07:44:46 +00:00
- name: Prepare artifacts
2019-09-18 07:44:46 +00:00
run: |
robocopy build\bin\Windows\Release artifacts xenia.exe xenia-vfs-dump.exe
robocopy . artifacts LICENSE
if errorlevel 8 exit /b 1
exit /b 0
2019-09-18 07:44:46 +00:00
- uses: actions/upload-artifact@master
with:
name: xenia-canary-${{matrix.cpu_arch}}
2019-09-18 07:44:46 +00:00
path: artifacts