mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Merge pull request #2101 from bbbradsmith/split2092-windows-test-manual
workflow for manually dispatched Windows build and test
This commit is contained in:
commit
066953c435
4
.github/workflows/build-on-pull-request.yml
vendored
4
.github/workflows/build-on-pull-request.yml
vendored
@ -67,3 +67,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build app (release)
|
- name: Build app (release)
|
||||||
run: msbuild src\cc65.sln -t:rebuild -property:Configuration=Release
|
run: msbuild src\cc65.sln -t:rebuild -property:Configuration=Release
|
||||||
|
|
||||||
|
# The regression tests are currently too slow to run for this Windows build,
|
||||||
|
# but the "Windows Test Manual" workflow (windows-test-manual.yml) can by
|
||||||
|
# manually dispatched from the Actions menu to test as needed.
|
||||||
|
@ -29,6 +29,10 @@ jobs:
|
|||||||
- name: Build app (release)
|
- name: Build app (release)
|
||||||
run: msbuild src\cc65.sln -t:rebuild -property:Configuration=Release
|
run: msbuild src\cc65.sln -t:rebuild -property:Configuration=Release
|
||||||
|
|
||||||
|
# The regression tests are currently too slow to run for this Windows build,
|
||||||
|
# but the "Windows Test Manual" workflow (windows-test-manual.yml) can by
|
||||||
|
# manually dispatched from the Actions menu to test as needed.
|
||||||
|
|
||||||
build_linux:
|
build_linux:
|
||||||
name: Build, Test, and Snapshot (Linux)
|
name: Build, Test, and Snapshot (Linux)
|
||||||
if: github.repository == 'cc65/cc65'
|
if: github.repository == 'cc65/cc65'
|
||||||
|
43
.github/workflows/windows-test-manual.yml
vendored
Normal file
43
.github/workflows/windows-test-manual.yml
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
name: Windows Test Manual
|
||||||
|
# Manually dispatched because it's much slower than the Linux test.
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_windows:
|
||||||
|
name: Build, Test (Windows MSVC)
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Git Setup
|
||||||
|
shell: bash
|
||||||
|
run: git config --global core.autocrlf input
|
||||||
|
|
||||||
|
- name: Checkout source
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
uses: microsoft/setup-msbuild@v1.1
|
||||||
|
|
||||||
|
- name: Build app (MSVC debug)
|
||||||
|
run: msbuild src\cc65.sln -t:rebuild -property:Configuration=Debug
|
||||||
|
|
||||||
|
- name: Build app (MSVC release)
|
||||||
|
run: msbuild src\cc65.sln -t:rebuild -property:Configuration=Release
|
||||||
|
|
||||||
|
- name: Build utils (MinGW)
|
||||||
|
shell: cmd
|
||||||
|
run: make -j2 util
|
||||||
|
|
||||||
|
- name: Build the platform libraries (make lib)
|
||||||
|
shell: cmd
|
||||||
|
run: make -j2 lib QUIET=1
|
||||||
|
|
||||||
|
- name: Run the regression tests (make test)
|
||||||
|
shell: cmd
|
||||||
|
run: make test QUIET=1
|
||||||
|
|
||||||
|
- name: Test that the samples can be built (make samples)
|
||||||
|
shell: cmd
|
||||||
|
run: make -j2 samples
|
Loading…
Reference in New Issue
Block a user