mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 04:57:54 +00:00
[host] windows: build pull requests and master with GitHub Actions
This commit is contained in:
parent
afa277f8ee
commit
d670913fd2
1 changed files with 23 additions and 0 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -51,3 +51,26 @@ jobs:
|
|||
run: |
|
||||
cd host/build
|
||||
make -j$(nproc)
|
||||
|
||||
host-windows:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Install Windows host dependencies
|
||||
run: |
|
||||
sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 nsis
|
||||
- name: Configure Windows host
|
||||
run: |
|
||||
mkdir host/build
|
||||
cd host/build
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-mingw64.cmake ..
|
||||
- name: Build Windows host
|
||||
run: |
|
||||
cd host/build
|
||||
make -j$(nproc)
|
||||
- name: Build Windows host installer
|
||||
run: |
|
||||
cd host/build
|
||||
makensis platform/Windows/installer.nsi
|
||||
|
|
Loading…
Reference in a new issue