From c6820bf266beabb0de99df1ee5474a62015c1554 Mon Sep 17 00:00:00 2001 From: 3DJ <71472458+ThreeDeeJay@users.noreply.github.com> Date: Mon, 30 May 2022 22:51:05 +0000 Subject: 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 --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to '.github/workflows/ci.yml') 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 -- cgit v1.2.3