From eaf8b0941dbe4fed39d05164ff46e0250585dcbd Mon Sep 17 00:00:00 2001 From: saddfox Date: Tue, 14 Mar 2023 20:36:57 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 38 +++++++------------------------------ 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a068ae75f966..2b0c096b12175 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,37 +1,8 @@ name: CI -on: [push, pull_request] +on: + workflow_dispatch: jobs: - ubuntu-latest: - runs-on: ubuntu-latest - - steps: - - name: Clone - uses: actions/checkout@v1 - - - name: Dependencies - run: | - sudo apt-get update - sudo apt-get install build-essential - - - name: Build - run: | - make - - macOS-latest: - runs-on: macOS-latest - - steps: - - name: Clone - uses: actions/checkout@v1 - - - name: Dependencies - run: | - brew update - - - name: Build - run: | - make windows-latest: runs-on: windows-latest @@ -46,6 +17,11 @@ jobs: cd build cmake .. cmake --build . --config Release + - name: Archive build artifacts + uses: actions/upload-artifact@v3 + with: + name: artifacts + path: build # ubuntu-latest-gcc: # runs-on: ubuntu-latest