mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 05:29:30 +00:00
Test GH Actions tweaks
This commit is contained in:
parent
4922717ad0
commit
978899780c
1 changed files with 7 additions and 3 deletions
10
.github/workflows/compile_project.yml
vendored
10
.github/workflows/compile_project.yml
vendored
|
@ -20,12 +20,15 @@ jobs:
|
||||||
- dist: ubuntu_x86_64
|
- dist: ubuntu_x86_64
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
|
bin_ext:
|
||||||
- dist: macos_x86_64
|
- dist: macos_x86_64
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
|
bin_ext:
|
||||||
- dist: macos_arm64
|
- dist: macos_arm64
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
bin_ext:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Clone submodules
|
- name: Clone submodules
|
||||||
|
@ -35,7 +38,7 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.prog }}-${{ matrix.dist }}
|
name: ${{ matrix.prog }}-${{ matrix.dist }}
|
||||||
path: ./bin/${{ matrix.prog }}
|
path: ./bin/${{ matrix.prog }}${{ matrix.bin_ext }}
|
||||||
build_visualstudio:
|
build_visualstudio:
|
||||||
name: Compile ${{ matrix.prog }} for ${{ matrix.dist }}
|
name: Compile ${{ matrix.prog }} for ${{ matrix.dist }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
@ -49,11 +52,13 @@ jobs:
|
||||||
platform: x64
|
platform: x64
|
||||||
configuration: Release
|
configuration: Release
|
||||||
build_path: x64\Release
|
build_path: x64\Release
|
||||||
|
bin_ext: .exe
|
||||||
- dist: win_x86
|
- dist: win_x86
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
platform: x86
|
platform: x86
|
||||||
configuration: Release
|
configuration: Release
|
||||||
build_path: Release
|
build_path: Release
|
||||||
|
bin_ext: .exe
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Add msbuild to PATH
|
- name: Add msbuild to PATH
|
||||||
|
@ -65,5 +70,4 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.prog }}-${{ matrix.dist }}
|
name: ${{ matrix.prog }}-${{ matrix.dist }}
|
||||||
path: .\build\visualstudio\${{ matrix.build_path }}\${{ matrix.prog }}.exe
|
path: .\build\visualstudio\${{ matrix.build_path }}\${{ matrix.prog }}${{ matrix.bin_ext }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue