Merge fix #104
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
on: push | |
name: Test builds | |
jobs: | |
build_win: | |
name: Windows build | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Checkout deps | |
run: git clone https://github.com/xmrig/xmrig-deps.git | |
- name: Build project on Windows | |
run: | | |
cmake . -G "Visual Studio 16 2019" -DXMRIG_DEPS=xmrig-deps\msvc2019\x64 | |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" | |
.\MSBuild.exe /p:Configuration=Release $Env:GITHUB_WORKSPACE\xmrig-proxy.sln | |
build_lin: | |
name: Ubuntu build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Prepare Ubuntu tools | |
run: | | |
sudo apt-get install -y git build-essential cmake libuv1-dev libssl-dev | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Build project on Ubuntu | |
run: | | |
cmake . | |
make -j$(nproc) |