mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 13:21:34 +00:00
Update build.yml
This commit is contained in:
parent
fc63532fef
commit
1217eaf980
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
@ -6,10 +6,10 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest, macos-latest, ubuntu-latest]
|
||||
build_type: [RelWithDebInfo, Debug]
|
||||
ui: [gui, cli]
|
||||
scripting: [lua, noscripts]
|
||||
os: [windows-latest]
|
||||
build_type: [RelWithDebInfo]
|
||||
ui: [gui]
|
||||
scripting: [lua]
|
||||
exclude:
|
||||
- build_type: Debug
|
||||
ui: gui
|
||||
@ -92,20 +92,10 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cd build && ninja
|
||||
- name: Running C++ Tests
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ runner.os }}" == "Linux" ]] ; then
|
||||
export XVFB=xvfb-run
|
||||
fi
|
||||
cd build && $XVFB ctest --output-on-failure
|
||||
- name: Running CLI Tests
|
||||
if: ${{ matrix.scripting == 'lua' }}
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ runner.os }}" == "Linux" ]] ; then
|
||||
export XVFB=xvfb-run
|
||||
fi
|
||||
export ASEPRITE=$PWD/build/bin/aseprite
|
||||
cd tests
|
||||
$XVFB bash run-tests.sh
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: aseprite
|
||||
path:
|
||||
D:/a/aseprite/bulid/bin/data
|
||||
D:/a/aseprite/bulid/bin/aseprite.exe
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user