Update CI scripts #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | ||
on: | ||
workflow_call: | ||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- name: Build with CMake+MSbuild | ||
run: | | ||
git submodule init | ||
git submodule update --remote | ||
./msbuild.bat | ||
linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Install packages | ||
run: sudo apt install -y openssh-client mesa-common-dev xorg-dev libxi-dev libxcursor-dev mingw-w64 | ||
- name: Update submodules | ||
run: | | ||
git submodule init | ||
git submodule update --remote | ||
- name: Build linux x86_64 | ||
run: make | ||
- name: Build windows x86_64 (cross) | ||
run: make cross |