Skip to content

please...

please... #10

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
include:
- os: windows-latest
build: 'discord-rpc-win.zip'
- os: ubuntu-latest
build: 'discord-rpc-linux.zip'
- os: macos-latest
build: 'discord-rpc-osx.zip'
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- if: matrix.os == 'windows-latest'
name: setup-msbuild
uses: microsoft/[email protected]
- name: Setup cmake
uses: jwlawson/[email protected]
- name: Setup Python
uses: actions/setup-python@v2
- name: Install click
run: pip install click
- name: Build
run: python build.py
- if: matrix.os == 'windows-latest'
name: Unzip
run: Expand-Archive -Path builds/${{ matrix.build }} -DestinationPath artifacts
- if: matrix.os != 'windows-latest'
name: Unzip
run: unzip builds/${{ matrix.build }} -d artifacts
- name: Upload ${{ matrix.os }}
uses: actions/upload-artifact@v3
with:
name: discord-rpc-${{ matrix.os }}
path: artifacts