Upload Win32 and x64 artifacts to Github actions (#708)
* Upload Win32 and x64 artifacts to Github actions Provides an alternative Windows binary download location that expires in 3 months (2 months longer than Appveyor) * Add Windows check to skip failed Github actions artifact upload for Linux and macOS
This commit is contained in:
parent
7f1d9725b2
commit
c6820bf266
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@ -11,7 +11,17 @@ jobs:
|
||||
matrix:
|
||||
config:
|
||||
- {
|
||||
name: "Visual Studio 64-bit",
|
||||
name: "Win32",
|
||||
os: windows-latest,
|
||||
cmake_opts: "-A Win32 \
|
||||
-DALSOFT_BUILD_ROUTER=ON \
|
||||
-DALSOFT_REQUIRE_WINMM=ON \
|
||||
-DALSOFT_REQUIRE_DSOUND=ON \
|
||||
-DALSOFT_REQUIRE_WASAPI=ON",
|
||||
build_type: "Release"
|
||||
}
|
||||
- {
|
||||
name: "Win64",
|
||||
os: windows-latest,
|
||||
cmake_opts: "-A x64 \
|
||||
-DALSOFT_BUILD_ROUTER=ON \
|
||||
@ -64,3 +74,11 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cmake --build build --config ${{matrix.config.build_type}}
|
||||
|
||||
- name: Upload Archive
|
||||
# Upload package as an artifact of this workflow.
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{ matrix.config.os == 'windows-latest' }}
|
||||
with:
|
||||
name: soft_oal-${{matrix.config.name}}
|
||||
path: ${{github.workspace}}/build/${{matrix.config.build_type}}/soft_oal.dll
|
||||
|
Loading…
x
Reference in New Issue
Block a user