aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author3DJ <[email protected]>2022-05-30 22:51:05 +0000
committerGitHub <[email protected]>2022-05-30 15:51:05 -0700
commitc6820bf266beabb0de99df1ee5474a62015c1554 (patch)
treed21b6280bc03600e27fbe849077eddefc60be24f
parent7f1d9725b2df68664e44fbd9944241ab3097a270 (diff)
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
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7f044ffd..faa7841f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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