Skip to content

Commit

Permalink
Windows 64 Workflow Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
LibreDrip committed Apr 25, 2023
1 parent adc6174 commit 61530fd
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/c-cpp_woe_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Windows x64 C/C++ CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: windows-latest

defaults:
run:
shell: msys2 {0}

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup MSYS2 and install packages
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
# git
make
mingw-w64-x86_64-gcc
mingw-w64-x86_64-SDL2
mingw-w64-x86_64-SDL2_mixer
# mingw-w64-cross-binutils
- name: make
run: make -C src/

- name: upload artifact
uses: actions/upload-artifact@v3
with:
name: win64-nightly
path: src/rott.exe

0 comments on commit 61530fd

Please sign in to comment.