Skip to content

Commit

Permalink
test separate build action
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed May 19, 2024
1 parent 7bf1659 commit 7bf5125
Showing 1 changed file with 32 additions and 30 deletions.
62 changes: 32 additions & 30 deletions .github/workflows/winxp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,40 @@ name: winxp

on: [push, pull_request]

runs-on: windows-2019
jobs:
webapp:
runs-on: windows-2019

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

- name: Build
shell: cmd
run: |
COPY /Y build\janet\janetconf.h vendor\janet\src\conf\janetconf.h
cd build
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON ..
cmake --build . --config MinSizeRel --parallel
- name: Build
shell: cmd
run: |
COPY /Y build\janet\janetconf.h vendor\janet\src\conf\janetconf.h
cd build
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON ..
cmake --build . --config MinSizeRel --parallel
- name: Deploy
uses: actions/upload-artifact@v4
with:
name: "tic80-winxp"
path: |
build/bin/tic80.exe
build/bin/*.dll
- name: Deploy
uses: actions/upload-artifact@v4
with:
name: "tic80-winxp"
path: |
build/bin/tic80.exe
build/bin/*.dll
- name: Build Pro
shell: cmd
run: |
COPY /Y build\janet\janetconf.h vendor\janet\src\conf\janetconf.h
cd build
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_PRO=On -DBUILD_WITH_ALL=ON ..
cmake --build . --config MinSizeRel --parallel
- name: Build Pro
shell: cmd
run: |
COPY /Y build\janet\janetconf.h vendor\janet\src\conf\janetconf.h
cd build
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_PRO=On -DBUILD_WITH_ALL=ON ..
cmake --build . --config MinSizeRel --parallel

0 comments on commit 7bf5125

Please sign in to comment.