mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
yes
This commit is contained in:
17
.github/workflows/d3d11-test-msys2.yml
vendored
17
.github/workflows/d3d11-test-msys2.yml
vendored
@@ -22,14 +22,18 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, "windows-latest"]
|
msystem: [mingw64]
|
||||||
|
os: [windows-latest]
|
||||||
arch: [x86_64]
|
arch: [x86_64]
|
||||||
confs:
|
mode: [debug]
|
||||||
- { mode: debug, archive: yes }
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
|
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get current date as package key
|
- name: Get current date as package key
|
||||||
id: cache_key
|
id: cache_key
|
||||||
@@ -38,6 +42,13 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Setup MSYS2
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
msystem: ${{ matrix.msystem }}
|
||||||
|
install: base-devel git unzip p7zip mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-xmake
|
||||||
|
update: true
|
||||||
|
|
||||||
# Force xmake to a specific folder (for cache)
|
# Force xmake to a specific folder (for cache)
|
||||||
- name: Set xmake env
|
- name: Set xmake env
|
||||||
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
|
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
|
||||||
|
|||||||
14
.github/workflows/software-test-msys2.yml
vendored
14
.github/workflows/software-test-msys2.yml
vendored
@@ -25,12 +25,15 @@ jobs:
|
|||||||
msystem: [mingw64]
|
msystem: [mingw64]
|
||||||
os: [windows-latest]
|
os: [windows-latest]
|
||||||
arch: [x86_64]
|
arch: [x86_64]
|
||||||
confs:
|
mode: [debug]
|
||||||
- { mode: debug, archive: yes }
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
|
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get current date as package key
|
- name: Get current date as package key
|
||||||
id: cache_key
|
id: cache_key
|
||||||
@@ -39,6 +42,13 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Setup MSYS2
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
msystem: ${{ matrix.msystem }}
|
||||||
|
install: base-devel git unzip p7zip mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-xmake
|
||||||
|
update: true
|
||||||
|
|
||||||
# Force xmake to a specific folder (for cache)
|
# Force xmake to a specific folder (for cache)
|
||||||
- name: Set xmake env
|
- name: Set xmake env
|
||||||
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
|
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user