From bc54ad129a24559f1b6c7da4647f65763c1b945f Mon Sep 17 00:00:00 2001 From: Hudd Date: Sat, 9 Mar 2024 20:48:38 +0400 Subject: [PATCH] ci: upload artifacts to github --- .github/workflows/build.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d0d2465..7cdab0f5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,7 +4,7 @@ on: push: jobs: - windows: + windows-debug: runs-on: windows-latest steps: - name: Checkout @@ -15,14 +15,21 @@ jobs: run: cmake --build build - name: Test run: ctest --test-dir build -C Debug --output-on-failure - ubuntu: + ubuntu-debug: runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v2 - name: Configure - run: cmake -S . -B build -DAW_ENABLE_GRAPHICS:BOOL=OFF -DAW_ENABLE_ASSERT:BOOL=OFF + run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install -DAW_ENABLE_GRAPHICS:BOOL=OFF -DAW_ENABLE_ASSERT:BOOL=OFF - name: Build run: cmake --build build - name: Test run: ctest --test-dir build --output-on-failure + - name: Install + run: cmake --install build + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: bin-ubuntu + path: install/*