Skip to content

Commit

Permalink
Create cmake2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ena-Shepherd authored May 31, 2023
1 parent 768c681 commit 35b1b6b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/cmake2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Windows

# Trigger this workflow on push or pull request
on: [push, pull_request]

jobs:
build:
name: Build and test (windows)

runs-on: windows-latest

defaults:
run:
shell: msys2 {0}

steps:
- name: Install dependencies
uses: msys2/setup-msys2@v2
with:
install: >-
git
base-devel
mingw-w64-x86_64-gcc
mingw-w64-x86_64-cmake
mingw-w64-x86_64-openal
update: true

- uses: actions/checkout@v1



- name: CMake configure
run: |
cd build
cmake .. -GNinja
- name: Shader
run: |
cd build
ninja

0 comments on commit 35b1b6b

Please sign in to comment.