mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
fixing CI
This commit is contained in:
9
.github/workflows/msys2-build.yml
vendored
9
.github/workflows/msys2-build.yml
vendored
@@ -36,6 +36,8 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: NcStudios/VulkanCI@v1.0
|
||||||
|
|
||||||
# Setup MSYS2
|
# Setup MSYS2
|
||||||
- uses: msys2/setup-msys2@v2
|
- uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
@@ -87,3 +89,10 @@ jobs:
|
|||||||
# Build the engine
|
# Build the engine
|
||||||
- name: Build Pulse
|
- name: Build Pulse
|
||||||
run: xmake --yes
|
run: xmake --yes
|
||||||
|
|
||||||
|
# Test the engine
|
||||||
|
- name: Build Pulse
|
||||||
|
run: |
|
||||||
|
xmake config --vulkan-tests=y --yes
|
||||||
|
xmake build --yes VulkanUnitTests
|
||||||
|
xmake run --yes VulkanUnitTests
|
||||||
|
|||||||
9
.github/workflows/windows-build.yml
vendored
9
.github/workflows/windows-build.yml
vendored
@@ -31,6 +31,8 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: NcStudios/VulkanCI@v1.0
|
||||||
|
|
||||||
# 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" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
@@ -82,3 +84,10 @@ jobs:
|
|||||||
# Build the engine
|
# Build the engine
|
||||||
- name: Build Pulse
|
- name: Build Pulse
|
||||||
run: xmake --yes
|
run: xmake --yes
|
||||||
|
|
||||||
|
# Test the engine
|
||||||
|
- name: Build Pulse
|
||||||
|
run: |
|
||||||
|
xmake config --vulkan-tests=y --yes
|
||||||
|
xmake build --yes VulkanUnitTests
|
||||||
|
xmake run --yes VulkanUnitTests
|
||||||
|
|||||||
Reference in New Issue
Block a user