From 61530fd8be7032ca04000b58781156ff5f08a79b Mon Sep 17 00:00:00 2001 From: LibreDrip Date: Tue, 25 Apr 2023 22:35:58 +0200 Subject: [PATCH] Windows 64 Workflow Initial --- .github/workflows/c-cpp_woe_64.yml | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/c-cpp_woe_64.yml diff --git a/.github/workflows/c-cpp_woe_64.yml b/.github/workflows/c-cpp_woe_64.yml new file mode 100644 index 0000000..337df30 --- /dev/null +++ b/.github/workflows/c-cpp_woe_64.yml @@ -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